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.StringSELECT_FLAG_ERRORthe flag to use for the select command to set the misalignmentstatic java.lang.StringSELECT_FLAG_TWISSthe 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.BooleangetClear()java.lang.StringgetColumn()java.lang.StringgetElementClass()java.lang.StringgetFlag()java.lang.BooleangetFull()java.lang.StringgetName()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.StringgetPattern()java.lang.StringgetRange()voidsetClear(java.lang.Boolean clear)voidsetColumn(java.lang.String column)voidsetElementClass(java.lang.String elementClass)voidsetFlag(java.lang.String flag)voidsetFull(java.lang.Boolean full)voidsetPattern(java.lang.String pattern)voidsetRange(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:Commandhas 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:AbstractCommandthis may be overridden if the command has parameters.- Specified by:
getParametersin interfaceCommand- Overrides:
getParametersin 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)
-
-