Package com.adobe.aio.cloudmanager
Enum Metric.Comparator
- java.lang.Object
-
- java.lang.Enum<Metric.Comparator>
-
- com.adobe.aio.cloudmanager.Metric.Comparator
-
- All Implemented Interfaces:
Serializable
,Comparable<Metric.Comparator>
- Enclosing interface:
- Metric
public static enum Metric.Comparator extends Enum<Metric.Comparator>
The comparator to use for the metric.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Metric.Comparator
valueOf(String name)
Returns the enum constant of this type with the specified name.static Metric.Comparator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GT
public static final Metric.Comparator GT
-
GTE
public static final Metric.Comparator GTE
-
LT
public static final Metric.Comparator LT
-
LTE
public static final Metric.Comparator LTE
-
EQ
public static final Metric.Comparator EQ
-
NEQ
public static final Metric.Comparator NEQ
-
-
Method Detail
-
values
public static Metric.Comparator[] 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.Comparator c : Metric.Comparator.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.Comparator 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
-
-