| java.lang.Object com.ecyrd.jspwiki.workflow.AbstractStep
All known Subclasses: com.ecyrd.jspwiki.workflow.Task, com.ecyrd.jspwiki.workflow.Decision,
Constructor Summary | |
protected | AbstractStep(String messageKey) Protected constructor that creates a new Step with a specified message key.
After construction, the protected method
AbstractStep.setWorkflow(Workflow) should be
called.
Parameters: messageKey - the Step's message key, such asdecision.editPageApproval . | public | AbstractStep(Workflow workflow, String messageKey) Constructs a new Step belonging to a specified Workflow and having a
specified message key.
Parameters: workflow - the workflow the Step belongs to Parameters: messageKey - the Step's message key, such asdecision.editPageApproval . |
AbstractStep | protected AbstractStep(String messageKey)(Code) | | Protected constructor that creates a new Step with a specified message key.
After construction, the protected method
AbstractStep.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. ). |
AbstractStep | public AbstractStep(Workflow workflow, String messageKey)(Code) | | Constructs a new Step belonging to a specified Workflow and having a
specified message key.
Parameters: workflow - the workflow the Step belongs to 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. ). |
addError | final protected synchronized void addError(String message)(Code) | | Protected helper method that adds a String representing an error message
to the Step's cached errors list.
Parameters: message - the error message |
getMessageArguments | final public Object[] getMessageArguments()(Code) | | |
getStartTime | final public Date getStartTime()(Code) | | |
isCompleted | final public boolean isCompleted()(Code) | | |
isStarted | final public boolean isStarted()(Code) | | |
setOutcome | final public synchronized void setOutcome(Outcome outcome)(Code) | | |
setWorkflow | final protected synchronized void setWorkflow(Workflow workflow)(Code) | | Protected method that sets the parent Workflow post-construction.
Parameters: workflow - the parent workflow to set |
|
|