Package org.km3net.clb.remote
Enum ClbState
- java.lang.Object
-
- java.lang.Enum<ClbState>
-
- org.km3net.clb.remote.ClbState
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR
FATAL
IDLE
PREREQ_MAC
PREREQ_SUCCESS
PREREQ_WR
READY
RUNNING
STANDBY
UNDEFINED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClbState
byId(int id)
int
getId()
static ClbState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ClbState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FATAL
public static final ClbState FATAL
-
ERROR
public static final ClbState ERROR
-
UNDEFINED
public static final ClbState UNDEFINED
-
IDLE
public static final ClbState IDLE
-
STANDBY
public static final ClbState STANDBY
-
PREREQ_MAC
public static final ClbState PREREQ_MAC
-
PREREQ_WR
public static final ClbState PREREQ_WR
-
PREREQ_SUCCESS
public static final ClbState PREREQ_SUCCESS
-
READY
public static final ClbState READY
-
RUNNING
public static final ClbState RUNNING
-
-
Method Detail
-
values
public static ClbState[] 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 (ClbState c : ClbState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClbState 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
-
getId
public int getId()
-
byId
public static ClbState byId(int id)
-
-