Class TrackTask
- java.lang.Object
-
- cern.accsoft.steering.jmad.kernel.AbstractJMadExecutable
-
- cern.accsoft.steering.jmad.kernel.task.AbstractTask
-
- cern.accsoft.steering.jmad.kernel.task.track.TrackTask
-
- All Implemented Interfaces:
JMadExecutable
public class TrackTask extends AbstractTask
Execute a track task and if an output file is defined write the result to it.
-
-
Constructor Summary
Constructors Constructor Description TrackTask(TrackInitialCondition init, TrackResultRequest request)
-
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.TrackInitialCondition
getTrackInitialCondition()
TrackResultRequest
getTrackResultRequest()
-
Methods inherited from class cern.accsoft.steering.jmad.kernel.task.AbstractTask
compose
-
Methods inherited from class cern.accsoft.steering.jmad.kernel.AbstractJMadExecutable
getOutputFile, setOutputFile
-
-
-
-
Constructor Detail
-
TrackTask
public TrackTask(TrackInitialCondition init, TrackResultRequest request)
-
-
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
-
getTrackInitialCondition
public TrackInitialCondition getTrackInitialCondition()
-
getTrackResultRequest
public TrackResultRequest getTrackResultRequest()
-
-