| java.lang.Object abbot.script.Step abbot.script.Sequence
All known Subclasses: abbot.script.Script,
Sequence | public class Sequence extends Step (Code) | | Script step which groups a sequence of other Steps. The sub-Steps have a
fixed order and are executed in the order contained in the sequence.
Events sent by sub-Steps are propagated by this one.
|
Method Summary | |
protected Element | addContent(Element el) | public void | addStep(int index, Step step) Inserts a step at the given index in the sequence. | public void | addStep(Step step) Adds a step to the end of the sequence. | public void | clear() Remove all stepchildren. | public String | getDefaultDescription() | public Step | getStep(int index) Return the step at the given index in the sequence. | public String | getUsage() Returns a string describing the proper XML usage for this class. | public String | getXMLTag() | public int | indexOf(Step step) Returns the index of the given step in the sequence, or -1 if the step
is not in the sequence. | protected void | parseChild(Element el) | protected void | parseChildren(Element el) | public void | removeStep(Step step) Removes the step if it exists in the sequence. | public void | removeStep(int index) Removes the step at the given index in the sequence. | protected void | runStep() Process each event in our list. | protected void | runStep(StepRunner runner) Process each event in our list, using the given runner. | public void | setStep(int index, Step step) Replaces the step at the given index. | public int | size() Returns the number of steps contained in this one. | public java.util.List | steps() Returns a list of the steps contained in this one. | public String | toEditableString() Only thing directly editable on a sequence is its description. |
Sequence | public Sequence(Resolver resolver, Element el, Map atts)(Code) | | Construct a Sequence from XML data.
|
Sequence | public Sequence(Resolver resolver, String desc, List steps)(Code) | | Create an aggregate from a list of existing Step s.
|
addContent | protected Element addContent(Element el)(Code) | | |
addStep | public void addStep(int index, Step step)(Code) | | Inserts a step at the given index in the sequence.
|
addStep | public void addStep(Step step)(Code) | | Adds a step to the end of the sequence.
|
clear | public void clear()(Code) | | Remove all stepchildren. More effective than Cinderella's
stepmother.
|
getDefaultDescription | public String getDefaultDescription()(Code) | | |
getStep | public Step getStep(int index)(Code) | | Return the step at the given index in the sequence.
|
getUsage | public String getUsage()(Code) | | Returns a string describing the proper XML usage for this class.
|
indexOf | public int indexOf(Step step)(Code) | | Returns the index of the given step in the sequence, or -1 if the step
is not in the sequence.
|
removeStep | public void removeStep(Step step)(Code) | | Removes the step if it exists in the sequence.
|
removeStep | public void removeStep(int index)(Code) | | Removes the step at the given index in the sequence.
|
runStep | protected void runStep() throws Throwable(Code) | | Process each event in our list.
|
runStep | protected void runStep(StepRunner runner) throws Throwable(Code) | | Process each event in our list, using the given runner.
|
setStep | public void setStep(int index, Step step)(Code) | | Replaces the step at the given index.
|
size | public int size()(Code) | | Returns the number of steps contained in this one.
|
toEditableString | public String toEditableString()(Code) | | Only thing directly editable on a sequence is its description.
|
|
|