Class CommandBlock
- java.lang.Object
-
- cern.accsoft.steering.jmad.kernel.AbstractJMadExecutable
-
- cern.accsoft.steering.jmad.kernel.task.AbstractTask
-
- cern.accsoft.steering.jmad.kernel.task.CommandBlock
-
- All Implemented Interfaces:
JMadExecutable
public class CommandBlock extends AbstractTask
this block just represents a block of commands which is executed in one go.
-
-
Constructor Summary
Constructors Constructor Description CommandBlock(java.util.List<Command> commands)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<Command>
getCommands()
has to be implemented in subclass in order to retrieve the commands-
Methods inherited from class cern.accsoft.steering.jmad.kernel.task.AbstractTask
compose
-
Methods inherited from class cern.accsoft.steering.jmad.kernel.AbstractJMadExecutable
getOutputFile, getResultType, setOutputFile
-
-
-
-
Constructor Detail
-
CommandBlock
public CommandBlock(java.util.List<Command> commands)
-
-
Method Detail
-
getCommands
protected java.util.List<Command> getCommands()
Description copied from class:AbstractTask
has to be implemented in subclass in order to retrieve the commands- Specified by:
getCommands
in classAbstractTask
- Returns:
- the ArrayList of commands
-
-