Package org.km3net.clb.remote
Enum ClbEvent
- java.lang.Object
-
- java.lang.Enum<ClbEvent>
-
- org.km3net.clb.remote.ClbEvent
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClbEvent
byId(int id)
int
getId()
static ClbEvent
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ClbEvent[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
_FATAL
public static final ClbEvent _FATAL
-
_ERROR
public static final ClbEvent _ERROR
-
_BOOT
public static final ClbEvent _BOOT
-
INIT
public static final ClbEvent INIT
-
CONFIGURE
public static final ClbEvent CONFIGURE
-
RESET
public static final ClbEvent RESET
-
_WR_VALID
public static final ClbEvent _WR_VALID
-
_MAC_VALID
public static final ClbEvent _MAC_VALID
-
ABORT
public static final ClbEvent ABORT
-
_CONFIGURE
public static final ClbEvent _CONFIGURE
-
_E_TIMEOUT
public static final ClbEvent _E_TIMEOUT
-
QUIT
public static final ClbEvent QUIT
-
START
public static final ClbEvent START
-
STOP
public static final ClbEvent STOP
-
RECOVER
public static final ClbEvent RECOVER
-
_RESTART
public static final ClbEvent _RESTART
-
-
Method Detail
-
values
public static ClbEvent[] 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 (ClbEvent c : ClbEvent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClbEvent 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 ClbEvent byId(int id)
-
-