|
||||||||||
| 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.web.GotoStep
public class GotoStep
Unconditionally transfer control to the step that is identified by a request parameter with the specified name.
Supported Attributes:
step is used.
| Field Summary | |
|---|---|
protected String |
step
The request parameter containing the identifier of the Step to which control should be transferred. |
| 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(String id)
Construct an instance of this Step with the specified identifier. |
|
GotoStep(String id,
String step)
Construct a fully configured instance of this Step. |
|
| Method Summary | |
|---|---|
void |
execute(Context context)
Perform the executable actions related to this Step, in the context of the specified Context. |
String |
getStep()
|
void |
setStep(String step)
|
String |
toString()
Render a string representation of this Step. |
| 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 String step
| Constructor Detail |
|---|
public GotoStep()
public GotoStep(String id)
id - Step identifier
public GotoStep(String id,
String step)
id - Step identifierstep - Request parameter name containing our step identifier| Method Detail |
|---|
public String getStep()
public void setStep(String step)
public void execute(Context context)
throws StepException
execute in interface Stepexecute in class BaseStepcontext - The Context that is tracking our execution state
StepException - if a processing error has occurredpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||