|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Step
A Step represents a single executable action that
can occur during the completion of an Activity. The dynamic execution
of the implementation of this Step happens within the execute()
method -- everything else about a Step is part of its static definition,
which is shared among all users of the owning Activity.
Method Summary | |
---|---|
void |
execute(Context context)
Perform the executable actions related to this Step, in the context of the specified Context. |
String |
getId()
Return the unique identifier (within this Activity) of this Step. |
Step |
getNextStep()
Return the next Step in our associated Activity or Block. |
Owner |
getOwner()
Return the Activity or Block that owns this Step. |
Step |
getPreviousStep()
Return the previous Step in our associated Activity or Block. |
void |
setId(String id)
Set the unique identifier (within this Activity) of this Step. |
void |
setNextStep(Step nextStep)
Set the next Step in our associated Activity or Block. |
void |
setOwner(Owner owner)
Set the Activity or Block that owns this Step. |
void |
setPreviousStep(Step previousStep)
Set the previous Step in our associated Activity or Block. |
Method Detail |
---|
String getId()
void setId(String id)
id
- The new unique identifierStep getNextStep()
void setNextStep(Step nextStep)
nextStep
- The new next StepOwner getOwner()
void setOwner(Owner owner)
owner
- The new owning Activity or BlockStep getPreviousStep()
void setPreviousStep(Step previousStep)
previousStep
- The new previous Stepvoid execute(Context context) throws StepException
context
- The Context that is tracking our execution state
StepException
- if a processing error has occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |