Class SelectCommand
- java.lang.Object
-
- cern.accsoft.steering.jmad.kernel.AbstractJMadExecutable
-
- cern.accsoft.steering.jmad.kernel.cmd.AbstractCommand
-
- cern.accsoft.steering.jmad.kernel.cmd.SelectCommand
-
- All Implemented Interfaces:
Command
,JMadExecutable
public class SelectCommand extends AbstractCommand
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SELECT_FLAG_ERROR
the flag to use for the select command to set the misalignmentstatic java.lang.String
SELECT_FLAG_TWISS
the flag to use for the select command to select the twiss output
-
Constructor Summary
Constructors Constructor Description SelectCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Boolean
getClear()
java.lang.String
getColumn()
java.lang.String
getElementClass()
java.lang.String
getFlag()
java.lang.Boolean
getFull()
java.lang.String
getName()
has to be implemented in order to return the name of the command (keyword);java.util.List<Parameter>
getParameters()
this may be overridden if the command has parameters.java.lang.String
getPattern()
java.lang.String
getRange()
void
setClear(java.lang.Boolean clear)
void
setColumn(java.lang.String column)
void
setElementClass(java.lang.String elementClass)
void
setFlag(java.lang.String flag)
void
setFull(java.lang.Boolean full)
void
setPattern(java.lang.String pattern)
void
setRange(java.lang.String range)
-
Methods inherited from class cern.accsoft.steering.jmad.kernel.cmd.AbstractCommand
compose, toString
-
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
-
-
-
-
Field Detail
-
SELECT_FLAG_TWISS
public static final java.lang.String SELECT_FLAG_TWISS
the flag to use for the select command to select the twiss output- See Also:
- Constant Field Values
-
SELECT_FLAG_ERROR
public static final java.lang.String SELECT_FLAG_ERROR
the flag to use for the select command to set the misalignment- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:Command
has to be implemented in order to return the name of the command (keyword);- Returns:
- the name of the command (MadX keyword)
-
getParameters
public java.util.List<Parameter> getParameters()
Description copied from class:AbstractCommand
this may be overridden if the command has parameters.- Specified by:
getParameters
in interfaceCommand
- Overrides:
getParameters
in classAbstractCommand
- Returns:
- all the parameter for the command
-
getFlag
public java.lang.String getFlag()
-
setFlag
public void setFlag(java.lang.String flag)
-
getRange
public java.lang.String getRange()
-
setRange
public void setRange(java.lang.String range)
-
getElementClass
public java.lang.String getElementClass()
-
setElementClass
public void setElementClass(java.lang.String elementClass)
-
getPattern
public java.lang.String getPattern()
-
setPattern
public void setPattern(java.lang.String pattern)
-
getFull
public java.lang.Boolean getFull()
-
setFull
public void setFull(java.lang.Boolean full)
-
getClear
public java.lang.Boolean getClear()
-
setClear
public void setClear(java.lang.Boolean clear)
-
getColumn
public java.lang.String getColumn()
-
setColumn
public void setColumn(java.lang.String column)
-
-