public enum SystemState extends java.lang.Enum<SystemState>
| Enum Constant and Description |
|---|
CORE_STATE_CLONING |
CORE_STATE_DEMOTED |
CORE_STATE_MAINTENANCE |
CORE_STATE_NOT_INSTALLED |
CORE_STATE_RUNNING |
CORE_STATE_STARTING |
CORE_STATE_STOPPING |
CORE_STATE_UNKNOWN |
CORE_STATE_UPGRADE |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BROADCAST
EventBus address used for state broadcasting
|
| Modifier and Type | Method and Description |
|---|---|
static SystemState |
fromOperation(java.lang.String op) |
java.lang.String |
operation() |
static SystemState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SystemState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SystemState CORE_STATE_STARTING
public static final SystemState CORE_STATE_RUNNING
public static final SystemState CORE_STATE_MAINTENANCE
public static final SystemState CORE_STATE_DEMOTED
public static final SystemState CORE_STATE_NOT_INSTALLED
public static final SystemState CORE_STATE_UPGRADE
public static final SystemState CORE_STATE_CLONING
public static final SystemState CORE_STATE_STOPPING
public static final SystemState CORE_STATE_UNKNOWN
public static final java.lang.String BROADCAST
public static SystemState[] values()
for (SystemState c : SystemState.values()) System.out.println(c);
public static SystemState 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 nullpublic java.lang.String operation()
public static SystemState fromOperation(java.lang.String op)
Copyright © 2022. All Rights Reserved.