Class AbstractJMadExecutable

    • Constructor Detail

      • AbstractJMadExecutable

        public AbstractJMadExecutable()
    • Method Detail

      • getResultType

        public ResultType getResultType()
        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
        Returns:
        the result type for this executable
      • setOutputFile

        public final void setOutputFile​(java.io.File outputFile)
        set the output-file. This should be only done by the JMadKernel since the kernel is the only one who knows where the output is needed to parse it afterwards.
        Specified by:
        setOutputFile in interface JMadExecutable
        Parameters:
        outputFile - the new output file to set
      • getOutputFile

        public final java.io.File getOutputFile()
        the actual output-file.
        Specified by:
        getOutputFile in interface JMadExecutable
        Returns:
        the file to which the output shall be written