public static enum ProtocolSessionObserver.Event extends Enum<ProtocolSessionObserver.Event>
Enum Constant and Description |
---|
CREATE |
DESTROY |
END_UPDATE |
START_UPDATE |
Modifier and Type | Method and Description |
---|---|
static ProtocolSessionObserver.Event |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProtocolSessionObserver.Event[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtocolSessionObserver.Event CREATE
public static final ProtocolSessionObserver.Event START_UPDATE
public static final ProtocolSessionObserver.Event END_UPDATE
public static final ProtocolSessionObserver.Event DESTROY
public static ProtocolSessionObserver.Event[] values()
for (ProtocolSessionObserver.Event c : ProtocolSessionObserver.Event.values()) System.out.println(c);
public static ProtocolSessionObserver.Event valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null