Class AbstractTask
- java.lang.Object
-
- cern.accsoft.steering.jmad.kernel.AbstractJMadExecutable
-
- cern.accsoft.steering.jmad.kernel.task.AbstractTask
-
- All Implemented Interfaces:
JMadExecutable
- Direct Known Subclasses:
AbstractResultSelectableTask,AddFieldErrors,CommandBlock,CycleSequence,DefineAndInstallElements,DynapTask,GetMisalignmentsTask,GetValues,InitPtcTask,RunMatch,SetBeam,SetClassMisalignment,SetMisalignment,SetMisalignmentsTask,TrackTask
public abstract class AbstractTask extends AbstractJMadExecutable
A MadX task is a combination of simple madx commands.
-
-
Constructor Summary
Constructors Constructor Description AbstractTask()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.Stringcompose()returns a string which will be sent to madx in order to accomplish some Task in MadX.protected abstract 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.AbstractJMadExecutable
getOutputFile, getResultType, setOutputFile
-
-
-
-
Method Detail
-
getCommands
protected abstract java.util.List<Command> getCommands()
has to be implemented in subclass in order to retrieve the commands- Returns:
- the ArrayList of commands
-
compose
public final java.lang.String compose()
Description copied from interface:JMadExecutablereturns a string which will be sent to madx in order to accomplish some Task in MadX.- Returns:
- the composed string for this executable that can be sent to MadX
-
-