public static enum Event.Fields extends Enum<Event.Fields>
Enum Constant and Description |
---|
ACTOR_NAME |
ACTOR_TYPE |
COMMENT |
COMPONENT |
EVENT_TYPE |
HIVE |
ITEM |
LOCATION |
MESSAGE |
MESSAGE_CODE |
MONITOR_TYPE |
PRIORITY |
SEVERITY |
SOURCE |
SYSTEM |
VALUE |
Modifier and Type | Method and Description |
---|---|
static Event.Fields |
byField(String name) |
boolean |
contains(String name) |
String |
getName() |
Class<? extends Object> |
getType() |
static Event.Fields |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Event.Fields[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Event.Fields MONITOR_TYPE
public static final Event.Fields EVENT_TYPE
public static final Event.Fields VALUE
public static final Event.Fields MESSAGE
public static final Event.Fields MESSAGE_CODE
public static final Event.Fields PRIORITY
public static final Event.Fields SEVERITY
public static final Event.Fields SOURCE
public static final Event.Fields ACTOR_NAME
public static final Event.Fields ACTOR_TYPE
public static final Event.Fields HIVE
public static final Event.Fields ITEM
public static final Event.Fields COMPONENT
public static final Event.Fields SYSTEM
public static final Event.Fields LOCATION
public static final Event.Fields COMMENT
public static Event.Fields[] values()
for (Event.Fields c : Event.Fields.values()) System.out.println(c);
public static Event.Fields 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 String getName()
public boolean contains(String name)
public static Event.Fields byField(String name)