public enum TriggerState extends Enum<TriggerState>
| Enum Constant and Description |
|---|
ACTIVE |
ACTIVE_ERROR |
ACTIVE_PART |
EMPTY |
ERROR |
INACTIVE |
SHUTTING_DOWN |
STARTING |
| Modifier and Type | Method and Description |
|---|---|
static TriggerState |
fromString(String state)
TODO: Add JavaDoc.
|
String |
getState() |
boolean |
isOn() |
String |
toString() |
static TriggerState |
valueOf(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
public static final TriggerState INACTIVE
public static final TriggerState ERROR
public static final TriggerState STARTING
public static final TriggerState SHUTTING_DOWN
public static final TriggerState ACTIVE_PART
public static final TriggerState ACTIVE_ERROR
public static final TriggerState EMPTY
public static TriggerState[] values()
for (TriggerState c : TriggerState.values()) System.out.println(c);
public static TriggerState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<TriggerState>public String getState()
public boolean isOn()
public static TriggerState fromString(String state)
Copyright © 2025. All rights reserved.