Interface Command
-
- All Superinterfaces:
JMadExecutable
- All Known Implementing Classes:
AbstractCommand
,AbstractMatchMethodCommand
,AbstractTableCommand
,AssignCommand
,BeamCommand
,CallCommand
,CycleCommand
,DefineElement
,DeleteCommand
,DynapCommand
,EalignCommand
,EfcompCommand
,EndeditCommand
,EOptionCommand
,EsaveCommand
,FlattenCommand
,GaussEalignCommand
,InstallCommand
,MatchConstraintGlobalCommand
,MatchConstraintLocalCommand
,MatchEndCommand
,MatchInitiateCommand
,MatchMethodJacobianCommand
,MatchMethodLmdifCommand
,MatchMethodMigradCommand
,MatchMethodSimplexCommand
,MatchVaryParameterCommand
,OptionCommand
,PrintCommand
,PtcAlignCommand
,PtcCreateLayoutCommand
,PtcCreateUniverseCommand
,PtcEndCommand
,PtcSetSwitchCommand
,PtcTwissCommand
,ReadMyTableCommand
,ReadTableCommand
,ResbeamCommand
,SaveBetaCommand
,SelectCommand
,SeqeditCommand
,SetEqual
,SetFormatCommand
,SetListEqual
,TrackCommand
,TrackEndCommand
,TrackObserveCommand
,TrackRunCommand
,TrackStartCommand
,TwissCommand
,UseCommand
,ValueCommand
,WriteCommand
public interface Command extends JMadExecutable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
compose()
composes the final command and returns it as String.java.lang.String
getName()
has to be implemented in order to return the name of the command (keyword);java.util.List<Parameter>
getParameters()
has to be implemented in subclass in order to return the ArrayList of parameters of the command.-
Methods inherited from interface cern.accsoft.steering.jmad.kernel.JMadExecutable
getOutputFile, getResultType, setOutputFile
-
-
-
-
Method Detail
-
getName
java.lang.String getName()
has to be implemented in order to return the name of the command (keyword);- Returns:
- the name of the command (MadX keyword)
-
getParameters
java.util.List<Parameter> getParameters()
has to be implemented in subclass in order to return the ArrayList of parameters of the command.- Returns:
- all the parameter for the command
-
compose
java.lang.String compose()
composes the final command and returns it as String.- Specified by:
compose
in interfaceJMadExecutable
- Returns:
- the total Command-String.
-
-