public static enum Event.EventType extends Enum<Event.EventType>
Enum Constant and Description |
---|
ANOMALOUS
An anomalous event, with id 1.
|
EXPECTED
An expected event, with id 0.
|
UNKNOWN
An unknown (i.e., unlabelled) event, with id -1.
|
Modifier and Type | Method and Description |
---|---|
protected int |
getID()
Returns the id of the event.
|
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 ANOMALOUS
public static final Event.EventType EXPECTED
public static final Event.EventType UNKNOWN
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 nullprotected int getID()
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.