|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.commons.workflow.base.BaseStep
org.apache.commons.workflow.base.DescriptorStep
org.apache.commons.workflow.core.GotoStep
Unconditionally transfer control to the specified step.
Supported Attributes:
| Field Summary | |
protected java.lang.String |
step
The identifier of the Step to which control should be transferred. |
| Fields inherited from class org.apache.commons.workflow.base.DescriptorStep |
descriptors |
| Fields inherited from class org.apache.commons.workflow.base.BaseStep |
id, nextStep, owner, previousStep |
| Constructor Summary | |
GotoStep()
Construct a default instance of this Step. |
|
GotoStep(java.lang.String id)
Construct an instance of this Step with the specified identifier. |
|
GotoStep(java.lang.String id,
java.lang.String step)
Construct a fully configured instance of this Step. |
|
| Method Summary | |
void |
execute(org.apache.commons.workflow.Context context)
Perform the executable actions related to this Step, in the context of the specified Context. |
java.lang.String |
getStep()
|
void |
setStep(java.lang.String step)
|
java.lang.String |
toString()
Render a string representation of this Step. |
| Methods inherited from class org.apache.commons.workflow.base.DescriptorStep |
addDescriptor, findDescriptors, removeDescriptor |
| Methods inherited from class org.apache.commons.workflow.base.BaseStep |
getId, getNextStep, getOwner, getPreviousStep, setId, setNextStep, setOwner, setPreviousStep |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected java.lang.String step
| Constructor Detail |
public GotoStep()
public GotoStep(java.lang.String id)
id - Step identifier
public GotoStep(java.lang.String id,
java.lang.String step)
id - Step identifier of this stepstep - Step identifier to which control should be redirected| Method Detail |
public java.lang.String getStep()
public void setStep(java.lang.String step)
public void execute(org.apache.commons.workflow.Context context)
throws org.apache.commons.workflow.StepException
execute in interface org.apache.commons.workflow.Stepexecute in class BaseStepcontext - The Context that is tracking our execution state
org.apache.commons.workflow.StepException - if a processing error has occurredpublic java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||