public static enum Event.EventType extends Enum<Event.EventType>
| Enum Constant and Description |
|---|
INCIDENT |
NETWORK_ERROR |
NONE |
STATE_TRANSITION |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
Class<? extends Event> |
getEventClass() |
int |
getId() |
static Event.EventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Event.EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Event.EventType INCIDENT
public static final Event.EventType NETWORK_ERROR
public static final Event.EventType STATE_TRANSITION
public static final Event.EventType NONE
public static Event.EventType[] values()
for (Event.EventType c : Event.EventType.values()) System.out.println(c);
public static Event.EventType 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 nullpublic int getId()
public String getDescription()
Copyright © 2022. All rights reserved.