public enum StatusType extends java.lang.Enum<StatusType>
Modifier and Type | Method and Description |
---|---|
static StatusType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StatusType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatusType RELAY
public static final StatusType NETWORK
public static final StatusType ALERT
public static final StatusType EVENT
public static StatusType[] values()
for (StatusType c : StatusType.values()) System.out.println(c);
public static StatusType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null