Package io.gravitee.alert.api.condition
Enum Condition.Type
- java.lang.Object
-
- java.lang.Enum<Condition.Type>
-
- io.gravitee.alert.api.condition.Condition.Type
-
- All Implemented Interfaces:
Serializable,Comparable<Condition.Type>
- Enclosing interface:
- Condition
public static enum Condition.Type extends Enum<Condition.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AGGREGATIONCOMPAREFREQUENCYMISSING_DATARATESTRINGSTRING_COMPARETHRESHOLDTHRESHOLD_RANGE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Condition.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static Condition.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING
public static final Condition.Type STRING
-
THRESHOLD
public static final Condition.Type THRESHOLD
-
THRESHOLD_RANGE
public static final Condition.Type THRESHOLD_RANGE
-
RATE
public static final Condition.Type RATE
-
FREQUENCY
public static final Condition.Type FREQUENCY
-
AGGREGATION
public static final Condition.Type AGGREGATION
-
COMPARE
public static final Condition.Type COMPARE
-
STRING_COMPARE
public static final Condition.Type STRING_COMPARE
-
MISSING_DATA
public static final Condition.Type MISSING_DATA
-
-
Method Detail
-
values
public static Condition.Type[] 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 (Condition.Type c : Condition.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Condition.Type 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
-
-