Package io.gravitee.alert.api.condition
Enum ThresholdCondition.Operator
- java.lang.Object
-
- java.lang.Enum<ThresholdCondition.Operator>
-
- io.gravitee.alert.api.condition.ThresholdCondition.Operator
-
- All Implemented Interfaces:
Serializable,Comparable<ThresholdCondition.Operator>
- Enclosing class:
- ThresholdCondition
public static enum ThresholdCondition.Operator extends Enum<ThresholdCondition.Operator>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ThresholdCondition.OperatorvalueOf(String name)Returns the enum constant of this type with the specified name.static ThresholdCondition.Operator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LT
public static final ThresholdCondition.Operator LT
-
LTE
public static final ThresholdCondition.Operator LTE
-
GTE
public static final ThresholdCondition.Operator GTE
-
GT
public static final ThresholdCondition.Operator GT
-
-
Method Detail
-
values
public static ThresholdCondition.Operator[] 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 (ThresholdCondition.Operator c : ThresholdCondition.Operator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ThresholdCondition.Operator 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
-
-