|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Owner
Owner represents the common characteristics of Activities and Blocks (that is, Steps that allow nested Steps, such as those that implementat conditionals and iteration).
| Method Summary | |
|---|---|
void |
addStep(Step step)
Add a new Step to the end of the sequence of Steps associated with this Activity or Block. |
void |
clearSteps()
Clear any existing Steps associated with this Activity or Block. |
Step |
findStep(String id)
Return the identified Step from our current Activity or Block, if it exists. |
Step |
getFirstStep()
Return the first Step associated with this Activity or Block. |
Step |
getLastStep()
Return the last Step associated with this Activity or Block. |
Step[] |
getSteps()
Return the set of Steps associated with this Activity or Block. |
void |
setSteps(Step[] steps)
Set the set of Steps associated with this Activity or Block, replacing any existing ones. |
| Method Detail |
|---|
Step getFirstStep()
Step getLastStep()
void addStep(Step step)
step - The new step to be addedvoid clearSteps()
Step findStep(String id)
null.
id - Identifier of the desired StepStep[] getSteps()
void setSteps(Step[] steps)
steps - The new set of steps.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||