public class WorkflowTasksComponent.Task extends Object
| Modifier and Type | Field and Description | 
|---|---|
protected String | 
_id
The task ID. 
 | 
protected I18nizableText | 
_label
The task label. 
 | 
protected int | 
_length
The max number of result 
 | 
protected Collection<WorkflowTasksComponent.TaskStep> | 
_steps
The task step configuration. 
 | 
| Constructor and Description | 
|---|
Task()
Class representing a task. 
 | 
Task(I18nizableText label,
    Collection<WorkflowTasksComponent.TaskStep> steps)
Class representing a task. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getId()
Get the id. 
 | 
I18nizableText | 
getLabel()
Get the label. 
 | 
int | 
getLength()
Get the length. 
 | 
Collection<WorkflowTasksComponent.TaskStep> | 
getSteps()
Get the steps. 
 | 
void | 
setId(String id)
Set the id. 
 | 
void | 
setLabel(I18nizableText label)
Set the label. 
 | 
void | 
setLength(int length)
Set the length. 
 | 
void | 
setSteps(Collection<WorkflowTasksComponent.TaskStep> steps)
Set the steps. 
 | 
protected I18nizableText _label
protected Collection<WorkflowTasksComponent.TaskStep> _steps
protected int _length
public Task()
public Task(I18nizableText label, Collection<WorkflowTasksComponent.TaskStep> steps)
label - The label of the tasksteps - The steps of the taskpublic int getLength()
public void setLength(int length)
length - the length to setpublic I18nizableText getLabel()
public void setLabel(I18nizableText label)
label - the label to setpublic Collection<WorkflowTasksComponent.TaskStep> getSteps()
public void setSteps(Collection<WorkflowTasksComponent.TaskStep> steps)
steps - the steps to set