Enum BeamModeValue
- java.lang.Object
-
- java.lang.Enum<BeamModeValue>
-
- cern.nxcals.api.backport.domain.core.constants.BeamModeValue
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BeamModeValue>
public enum BeamModeValue extends java.lang.Enum<BeamModeValue> implements java.io.Serializable
The Beam Mode Value
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
static java.lang.String
getValues()
static boolean
isBeamModeValue(java.lang.String variableName)
static BeamModeValue[]
parseBeamModes(java.lang.String string)
static BeamModeValue
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BeamModeValue[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SETUP
public static final BeamModeValue SETUP
-
INJPHYS
public static final BeamModeValue INJPHYS
-
PRERAMP
public static final BeamModeValue PRERAMP
-
RAMP
public static final BeamModeValue RAMP
-
FLATTOP
public static final BeamModeValue FLATTOP
-
SQUEEZE
public static final BeamModeValue SQUEEZE
-
ADJUST
public static final BeamModeValue ADJUST
-
STABLE
public static final BeamModeValue STABLE
-
BEAMDUMP
public static final BeamModeValue BEAMDUMP
-
RAMPDOWN
public static final BeamModeValue RAMPDOWN
-
NOBEAM
public static final BeamModeValue NOBEAM
-
CYCLING
public static final BeamModeValue CYCLING
-
INJPROB
public static final BeamModeValue INJPROB
-
INJSTUP
public static final BeamModeValue INJSTUP
-
INJDUMP
public static final BeamModeValue INJDUMP
-
CIRCDUMP
public static final BeamModeValue CIRCDUMP
-
UNSTABLE
public static final BeamModeValue UNSTABLE
-
RECOVERY
public static final BeamModeValue RECOVERY
-
WBDUMP
public static final BeamModeValue WBDUMP
-
ABORT
public static final BeamModeValue ABORT
-
NOMODE
public static final BeamModeValue NOMODE
-
TEST_BEAM_MODE1
public static final BeamModeValue TEST_BEAM_MODE1
-
TEST_BEAM_MODE2
public static final BeamModeValue TEST_BEAM_MODE2
-
TEST_BEAM_MODE3
public static final BeamModeValue TEST_BEAM_MODE3
-
UNKNOWN
public static final BeamModeValue UNKNOWN
-
-
Method Detail
-
values
public static BeamModeValue[] 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 (BeamModeValue c : BeamModeValue.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BeamModeValue 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
-
getValues
public static java.lang.String getValues()
-
isBeamModeValue
public static boolean isBeamModeValue(java.lang.String variableName)
-
parseBeamModes
public static BeamModeValue[] parseBeamModes(java.lang.String string)
-
getDescription
public java.lang.String getDescription()
-
-