Class 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 Detail

      • GetMisalignmentsTask

        public GetMisalignmentsTask​(java.lang.String patternToSelect)
        Parameters:
        patternToSelect -
      • GetMisalignmentsTask

        public GetMisalignmentsTask()
    • 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 class AbstractTask
        Returns:
        the ArrayList of commands
      • getResultType

        public ResultType getResultType()
        Description copied from class: AbstractJMadExecutable
        The ResultType 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 interface JMadExecutable
        Overrides:
        getResultType in class AbstractJMadExecutable
        Returns:
        the result type for this executable