|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.workflow.base.BaseStep org.apache.commons.workflow.core.StringStep
public class StringStep
Push the specified String value onto the top of the evaluation stack.
Supported Attributes:
Field Summary | |
---|---|
protected String |
value
The string value to be pushed. |
Fields inherited from class org.apache.commons.workflow.base.BaseStep |
---|
id, nextStep, owner, previousStep |
Constructor Summary | |
---|---|
StringStep()
Construct a default instance of this Step. |
|
StringStep(String id)
Construct an instance of this Step with the specified identifier. |
|
StringStep(String id,
String value)
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 |
getValue()
|
void |
setValue(String value)
|
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 value
Constructor Detail |
---|
public StringStep()
public StringStep(String id)
id
- Step identifierpublic StringStep(String id, String value)
id
- Step identifiervalue
- String value to be pushedMethod Detail |
---|
public String getValue()
public void setValue(String value)
public void execute(Context context) throws StepException
execute
in interface Step
execute
in class BaseStep
context
- 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 |