public enum TriggerState extends java.lang.Enum<TriggerState>
Enumeration that defines the different states a Trigger
can be in
Enum Constant and Description |
---|
ACTIVE
the trigger is active and waiting for the condition to be met
|
INACTIVE
the trigger is disabled/paused and will not trigger if the condition is met
|
TRIGGERED
the condition was met and a notification was triggered
|
UNKNOWN
Invalid state that only happens if the backend sends an unsupported state
|
Modifier and Type | Method and Description |
---|---|
static TriggerState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TriggerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TriggerState ACTIVE
the trigger is active and waiting for the condition to be met
public static final TriggerState INACTIVE
the trigger is disabled/paused and will not trigger if the condition is met
public static final TriggerState TRIGGERED
the condition was met and a notification was triggered
public static final TriggerState UNKNOWN
Invalid state that only happens if the backend sends an unsupported state
public static TriggerState[] values()
for (TriggerState c : TriggerState.values()) System.out.println(c);
public static TriggerState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullPlease send bug reports and comments to Caplin support