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