public enum ApiEventSeverity extends Enum<ApiEventSeverity>
Enum Constant and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final ApiEventSeverity UNKNOWN
public static final ApiEventSeverity INFORMATIONAL
public static final ApiEventSeverity IMPORTANT
public static final ApiEventSeverity CRITICAL
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 nameNullPointerException
- if the argument is nullpublic static ApiEventSeverity fromString(String severity)
severity
- String value of a severity.UNKNOWN
is not valid.Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.