|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ApiEventCategory>
com.cloudera.api.model.ApiEventCategory
public enum ApiEventCategory
Enum Constant Summary | |
---|---|
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 |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
NullPointerException
- if the argument is nullpublic static ApiEventCategory fromString(String category)
category
- String value of a category.
UNKNOWN
is not valid.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |