Enum OptionCommand.Option
- java.lang.Object
-
- java.lang.Enum<OptionCommand.Option>
-
- cern.accsoft.steering.jmad.kernel.cmd.OptionCommand.Option
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<OptionCommand.Option>
- Enclosing class:
- OptionCommand
public static enum OptionCommand.Option extends java.lang.Enum<OptionCommand.Option>
this enum represents the possible option commands
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OptionCommand.Option
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static OptionCommand.Option[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BBORBIT
public static final OptionCommand.Option BBORBIT
-
SYMPL
public static final OptionCommand.Option SYMPL
-
ECHO
public static final OptionCommand.Option ECHO
-
TRACE
public static final OptionCommand.Option TRACE
-
VERIFY
public static final OptionCommand.Option VERIFY
-
WARN
public static final OptionCommand.Option WARN
-
INFO
public static final OptionCommand.Option INFO
-
TELL
public static final OptionCommand.Option TELL
-
RESET
public static final OptionCommand.Option RESET
-
RBARC
public static final OptionCommand.Option RBARC
-
THIN_FOC
public static final OptionCommand.Option THIN_FOC
-
NO_FATAL_STOP
public static final OptionCommand.Option NO_FATAL_STOP
-
-
Method Detail
-
values
public static OptionCommand.Option[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OptionCommand.Option c : OptionCommand.Option.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OptionCommand.Option valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-