Package com.adobe.aio.cloudmanager
Enum Metric.Severity
- java.lang.Object
-
- java.lang.Enum<Metric.Severity>
-
- com.adobe.aio.cloudmanager.Metric.Severity
-
- All Implemented Interfaces:
Serializable
,Comparable<Metric.Severity>
- Enclosing interface:
- Metric
public static enum Metric.Severity extends Enum<Metric.Severity>
Represents the severity of the metric.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CRITICAL
IMPORTANT
INFORMATIONAL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Metric.Severity
valueOf(String name)
Returns the enum constant of this type with the specified name.static Metric.Severity[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CRITICAL
public static final Metric.Severity CRITICAL
-
IMPORTANT
public static final Metric.Severity IMPORTANT
-
INFORMATIONAL
public static final Metric.Severity INFORMATIONAL
-
-
Method Detail
-
values
public static Metric.Severity[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Metric.Severity c : Metric.Severity.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Metric.Severity valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-