Enum Class ResolveMode
- All Implemented Interfaces:
Serializable,Comparable<ResolveMode>,Constable
How an open alert of a type is closed automatically. Any mode also allows
a person to resolve an alert manually, with a note.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptiononly a person resolves it.the monitor that raised it resolves it when its next evaluation is clean.the producer calls QAlerts.resolve when the condition clears.it resolves when no raise has been seen for the type's quiet period. -
Method Summary
Modifier and TypeMethodDescriptionstatic ResolveModeReturns the enum constant of this class with the specified name.static ResolveMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PRODUCER
the producer calls QAlerts.resolve when the condition clears. -
MONITOR
the monitor that raised it resolves it when its next evaluation is clean. -
QUIET_PERIOD
it resolves when no raise has been seen for the type's quiet period. -
MANUAL
only a person resolves it.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-