Class GetMisalignmentsTask
- java.lang.Object
-
- cern.accsoft.steering.jmad.kernel.AbstractJMadExecutable
-
- cern.accsoft.steering.jmad.kernel.task.AbstractTask
-
- cern.accsoft.steering.jmad.kernel.task.GetMisalignmentsTask
-
- All Implemented Interfaces:
JMadExecutable
public class GetMisalignmentsTask extends AbstractTask
This task is intended to call kernel in order to get actual machine imperfections.
-
-
Constructor Summary
Constructors Constructor Description GetMisalignmentsTask()
GetMisalignmentsTask(java.lang.String patternToSelect)
-
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 commandsResultType
getResultType()
TheResultType
which is produced by this command.-
Methods inherited from class cern.accsoft.steering.jmad.kernel.task.AbstractTask
compose
-
Methods inherited from class cern.accsoft.steering.jmad.kernel.AbstractJMadExecutable
getOutputFile, setOutputFile
-
-
-
-
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
-
getResultType
public ResultType getResultType()
Description copied from class:AbstractJMadExecutable
TheResultType
which is produced by this command. This value is then used by the kernel, in order to determine which parser to use to determine the type of parser to use for parsing the madx-output.Shall be overridden by subclass, if it provides a result.
- Specified by:
getResultType
in interfaceJMadExecutable
- Overrides:
getResultType
in classAbstractJMadExecutable
- Returns:
- the result type for this executable
-
-