public class UserTaskChoice extends Named
Constructor and Description |
---|
UserTaskChoice(java.lang.String name,
java.lang.String label,
java.lang.String tooltip,
boolean commentcompulsory)
creates a choice
|
Modifier and Type | Method and Description |
---|---|
void |
addnextStep(WorkflowStep nextstepforchoice)
sets the next step for choice
|
java.lang.String |
getLabel() |
WorkflowStep |
getNextStepForChoice() |
java.lang.String |
getTooltip() |
boolean |
isCommentcompulsory() |
changeName, cleanName, equals, getName
public UserTaskChoice(java.lang.String name, java.lang.String label, java.lang.String tooltip, boolean commentcompulsory)
name
- unique name of the choice for the task (valid java
field name)label
- plain default language descriptiontooltip
- multi-line tooltipcommentcompulsory
- if true, a comment will be requested from the user.
This is typically required when rejecting a task in
a workflow to justify the rejectionpublic void addnextStep(WorkflowStep nextstepforchoice)
nextstepforchoice
- next workflow step if choice is selected by the user
running the taskpublic WorkflowStep getNextStepForChoice()
public java.lang.String getLabel()
public java.lang.String getTooltip()
public boolean isCommentcompulsory()