Package io.gravitee.alert.api.condition
Enum RateCondition.Operator
- java.lang.Object
-
- java.lang.Enum<RateCondition.Operator>
-
- io.gravitee.alert.api.condition.RateCondition.Operator
-
- All Implemented Interfaces:
Serializable,Comparable<RateCondition.Operator>
- Enclosing class:
- RateCondition
public static enum RateCondition.Operator extends Enum<RateCondition.Operator>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RateCondition.OperatorvalueOf(String name)Returns the enum constant of this type with the specified name.static RateCondition.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 RateCondition.Operator LT
-
LTE
public static final RateCondition.Operator LTE
-
GTE
public static final RateCondition.Operator GTE
-
GT
public static final RateCondition.Operator GT
-
-
Method Detail
-
values
public static RateCondition.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 (RateCondition.Operator c : RateCondition.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 RateCondition.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
-
-