public enum ApiEventCategory extends Enum<ApiEventCategory>
| Enum Constant and Description |
|---|
ACTIVITY_EVENT
This event was triggered by an activity event
e.g.
|
AUDIT_EVENT
This event was caused by an audit event e.g.
|
HBASE
This is an HBase domain specific-event.
|
HEALTH_EVENT
This event was generate during a health check
|
LOG_EVENT
This event was sent because a specific log message was detected
|
SYSTEM
This event was generated by the CM server for a system event
|
UNKNOWN
The category of this event is unknown
|
| Modifier and Type | Method and Description |
|---|---|
static ApiEventCategory |
fromString(String category) |
static ApiEventCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApiEventCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiEventCategory UNKNOWN
public static final ApiEventCategory HEALTH_EVENT
public static final ApiEventCategory LOG_EVENT
public static final ApiEventCategory AUDIT_EVENT
public static final ApiEventCategory ACTIVITY_EVENT
public static final ApiEventCategory HBASE
public static final ApiEventCategory SYSTEM
public static ApiEventCategory[] values()
for (ApiEventCategory c : ApiEventCategory.values()) System.out.println(c);
public static ApiEventCategory 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 static ApiEventCategory fromString(String category)
category - String value of a category.UNKNOWN is not valid.Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.