Package org.ametys.cms.workflow
Class WorkflowTasksComponent.Task
java.lang.Object
org.ametys.cms.workflow.WorkflowTasksComponent.Task
- Enclosing class:
- WorkflowTasksComponent
Class representing a task.
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
The task ID.protected I18nizableText
The task label.protected int
The max number of resultprotected Collection<WorkflowTasksComponent.TaskStep>
The task step configuration. -
Constructor Summary
ConstructorDescriptionTask()
Class representing a task.Task
(I18nizableText label, Collection<WorkflowTasksComponent.TaskStep> steps) Class representing a task. -
Method Summary
-
Field Details
-
_id
The task ID. -
_label
The task label. -
_steps
The task step configuration. -
_length
The max number of result
-
-
Constructor Details
-
Task
public Task()Class representing a task. -
Task
Class representing a task.- Parameters:
label
- The label of the tasksteps
- The steps of the task
-
-
Method Details
-
getId
Get the id.- Returns:
- the id
-
setId
Set the id.- Parameters:
id
- the id to set
-
getLength
Get the length.- Returns:
- the length
-
setLength
Set the length.- Parameters:
length
- the length to set
-
getLabel
Get the label.- Returns:
- the label
-
setLabel
Set the label.- Parameters:
label
- the label to set
-
getSteps
Get the steps.- Returns:
- the steps
-
setSteps
Set the steps.- Parameters:
steps
- the steps to set
-