|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ApiEventSeverity>
com.cloudera.api.model.ApiEventSeverity
public enum ApiEventSeverity
| Enum Constant Summary | |
|---|---|
CRITICAL
This is the most severe event and signifies an important error that requires immediate attention. |
|
IMPORTANT
This event severity should be seen as concerning and may require attention. |
|
INFORMATIONAL
This event provides information about a state change. |
|
UNKNOWN
The severity of this event is not known |
|
| Method Summary | |
|---|---|
static ApiEventSeverity |
fromString(String severity)
|
static ApiEventSeverity |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ApiEventSeverity[] |
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 ApiEventSeverity UNKNOWN
public static final ApiEventSeverity INFORMATIONAL
public static final ApiEventSeverity IMPORTANT
public static final ApiEventSeverity CRITICAL
| Method Detail |
|---|
public static ApiEventSeverity[] values()
for (ApiEventSeverity c : ApiEventSeverity.values()) System.out.println(c);
public static ApiEventSeverity 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 ApiEventSeverity fromString(String severity)
severity - String value of a severity.
UNKNOWN is not valid.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||