tomp.xtcl.command
Class Sequence

java.lang.Object
  extended bytomp.xtcl.command.AbstractCommand
      extended bytomp.xtcl.command.Sequence
All Implemented Interfaces:
Command

public class Sequence
extends AbstractCommand


Field Summary
protected  boolean breakOnError
           
protected  Command[] commands
           
 
Constructor Summary
Sequence()
           
 
Method Summary
protected  java.lang.String commandsToString()
           
 int execute(Context c)
           
 int execute(Context c, int i)
           
 void setBreakOnError(boolean b)
           
 void setCommands(Command[] c)
           
 java.lang.String toString()
           
 
Methods inherited from class tomp.xtcl.command.AbstractCommand
initParameters, listArray, listList, listMap, newFile, refToFile, refToInputSource, refToJoostStyle, refToResult, refToSource, refToStyle, refToXMLFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

breakOnError

protected boolean breakOnError

commands

protected Command[] commands
Constructor Detail

Sequence

public Sequence()
Method Detail

setBreakOnError

public void setBreakOnError(boolean b)

setCommands

public void setCommands(Command[] c)

execute

public int execute(Context c)
            throws java.lang.Exception
Specified by:
execute in interface Command
Overrides:
execute in class AbstractCommand
Throws:
java.lang.Exception

commandsToString

protected java.lang.String commandsToString()

execute

public int execute(Context c,
                   int i)
            throws java.lang.Exception
Throws:
java.lang.Exception

toString

public java.lang.String toString()