Class SetMisalignment
- java.lang.Object
-
- cern.accsoft.steering.jmad.kernel.AbstractJMadExecutable
-
- cern.accsoft.steering.jmad.kernel.task.AbstractTask
-
- cern.accsoft.steering.jmad.kernel.task.SetMisalignment
-
- All Implemented Interfaces:
JMadExecutable
public class SetMisalignment extends AbstractTask
This class represents a task, which applies a certain misalignment to a element.
-
-
Constructor Summary
Constructors Constructor Description SetMisalignment(MisalignmentConfiguration config)
the constructor.
-
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
-
SetMisalignment
public SetMisalignment(MisalignmentConfiguration config)
the constructor. Needs the element and the misalignment to apply.- Parameters:
config
- the misalignment-config to apply
-
-
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
-
-