Class SetMisalignmentsTask
- java.lang.Object
-
- cern.accsoft.steering.jmad.kernel.AbstractJMadExecutable
-
- cern.accsoft.steering.jmad.kernel.task.AbstractTask
-
- cern.accsoft.steering.jmad.kernel.task.SetMisalignmentsTask
-
- All Implemented Interfaces:
JMadExecutable
public class SetMisalignmentsTask extends AbstractTask
A wrapper for a multiple number of tasks such that the command that is sent to the kernel is at once. This class can distinguish both:MisalignmentConfiguration
andPatternOrClassMisalignmentConfiguration
types and creates the commands accordingly.
-
-
Constructor Summary
Constructors Constructor Description SetMisalignmentsTask(java.util.List<MisalignmentConfiguration> config)
-
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
-
SetMisalignmentsTask
public SetMisalignmentsTask(java.util.List<MisalignmentConfiguration> config)
-
-
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
-
-