Class AbstractCommand
- java.lang.Object
-
- cern.accsoft.steering.jmad.kernel.AbstractJMadExecutable
-
- cern.accsoft.steering.jmad.kernel.cmd.AbstractCommand
-
- All Implemented Interfaces:
Command,JMadExecutable
- Direct Known Subclasses:
AbstractMatchMethodCommand,AbstractTableCommand,AssignCommand,BeamCommand,CallCommand,CycleCommand,DeleteCommand,DynapCommand,EalignCommand,EfcompCommand,EndeditCommand,EOptionCommand,EsaveCommand,FlattenCommand,GaussEalignCommand,InstallCommand,MatchConstraintGlobalCommand,MatchConstraintLocalCommand,MatchEndCommand,MatchInitiateCommand,MatchVaryParameterCommand,OptionCommand,PrintCommand,PtcAlignCommand,PtcCreateLayoutCommand,PtcCreateUniverseCommand,PtcEndCommand,PtcSetSwitchCommand,PtcTwissCommand,ResbeamCommand,SaveBetaCommand,SelectCommand,SeqeditCommand,SetFormatCommand,TrackCommand,TrackEndCommand,TrackObserveCommand,TrackRunCommand,TrackStartCommand,TwissCommand,UseCommand,ValueCommand,WriteCommand
public abstract class AbstractCommand extends AbstractJMadExecutable implements Command
-
-
Constructor Summary
Constructors Constructor Description AbstractCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringcompose()composes the final command and returns it as String.java.util.List<Parameter>getParameters()this may be overridden if the command has parameters.java.lang.StringtoString()-
Methods inherited from class cern.accsoft.steering.jmad.kernel.AbstractJMadExecutable
getOutputFile, getResultType, setOutputFile
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface cern.accsoft.steering.jmad.kernel.JMadExecutable
getOutputFile, getResultType, setOutputFile
-
-
-
-
Method Detail
-
compose
public final java.lang.String compose()
Description copied from interface:Commandcomposes the final command and returns it as String.- Specified by:
composein interfaceCommand- Specified by:
composein interfaceJMadExecutable- Returns:
- the total Command-String.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getParameters
public java.util.List<Parameter> getParameters()
this may be overridden if the command has parameters.- Specified by:
getParametersin interfaceCommand- Returns:
- all the parameter for the command
-
-