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