Enum AlertSampleManager.Threshold.Operator
- java.lang.Object
-
- java.lang.Enum<AlertSampleManager.Threshold.Operator>
-
- org.ametys.runtime.plugins.admin.jvmstatus.monitoring.alerts.AlertSampleManager.Threshold.Operator
-
- All Implemented Interfaces:
Serializable
,Comparable<AlertSampleManager.Threshold.Operator>
- Enclosing class:
- AlertSampleManager.Threshold
public static enum AlertSampleManager.Threshold.Operator extends Enum<AlertSampleManager.Threshold.Operator>
The possible types of operators
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Operator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AlertSampleManager.Threshold.Operator
valueOf(String name)
Returns the enum constant of this type with the specified name.static AlertSampleManager.Threshold.Operator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LEQ
public static final AlertSampleManager.Threshold.Operator LEQ
Alert will be triggered when the value is less or equal to the threshold
-
GEQ
public static final AlertSampleManager.Threshold.Operator GEQ
Alert will be triggered when the value is greater or equal to the threshold
-
-
Constructor Detail
-
Operator
private Operator()
-
-
Method Detail
-
values
public static AlertSampleManager.Threshold.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 (AlertSampleManager.Threshold.Operator c : AlertSampleManager.Threshold.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 AlertSampleManager.Threshold.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
-
-