|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.tomp.xtcl.command.AbstractCommand
net.sf.tomp.xtcl.command.Sequence
public class Sequence
A Sequence of Commands, will be executed sequentially, one-after-another
Constructor Summary | |
---|---|
Sequence()
|
Method Summary | |
---|---|
protected java.lang.String |
commandsToString()
DOCUMENT ME! |
int |
execute(Context c)
DOCUMENT ME! |
protected int |
execute(Context c,
int i)
DOCUMENT ME! |
void |
setBreakOnError(boolean b)
Sets whether processing of this Command Sequence should stop if an error is encountered. |
void |
setCommands(Command[] c)
Set the array of Command into this Sequence |
java.lang.String |
toString()
DOCUMENT ME! |
Methods inherited from class net.sf.tomp.xtcl.command.AbstractCommand |
---|
done, initParameters, listArray, listList, listMap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Sequence()
Method Detail |
---|
public void setBreakOnError(boolean b)
b
- if true, the processing stops on errorspublic void setCommands(Command[] c)
c
- Commands to set into thispublic int execute(Context c) throws java.lang.Exception
execute
in interface Command
execute
in class AbstractCommand
c
- DOCUMENT ME!
java.lang.Exception
- DOCUMENT ME!protected java.lang.String commandsToString()
protected int execute(Context c, int i) throws java.lang.Exception
c
- DOCUMENT ME!i
- DOCUMENT ME!
java.lang.Exception
- DOCUMENT ME!public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |