| java.lang.Object com.ecyrd.jspwiki.workflow.AbstractStep com.ecyrd.jspwiki.workflow.Task
Constructor Summary | |
public | Task(String messageKey) Protected constructor that creates a new Task with a specified message key.
After construction, the protected method
Task.setWorkflow(Workflow) should be
called.
Parameters: messageKey - the Step's message key, such asdecision.editPageApproval . | public | Task(Workflow workflow, String messageKey) Constructs a new instance of a Task, with an associated Workflow and
message key. |
Task | public Task(String messageKey)(Code) | | Protected constructor that creates a new Task with a specified message key.
After construction, the protected method
Task.setWorkflow(Workflow) should be
called.
Parameters: messageKey - the Step's message key, such asdecision.editPageApproval . By convention, themessage prefix should be a lower-case version of the Step'stype, plus a period (e.g., task. and decision. ). |
Task | public Task(Workflow workflow, String messageKey)(Code) | | Constructs a new instance of a Task, with an associated Workflow and
message key.
Parameters: workflow - the associated workflow Parameters: messageKey - the i18n message key |
getSuccessor | final public synchronized Step getSuccessor()(Code) | | Identifies the next Step after this Task finishes successfully. This
method will always return the value set in method
Task.setSuccessor(Step) , regardless of the current completion state.
the next step |
|
|