public enum ServiceState extends Enum<ServiceState>
| Enum Constant and Description |
|---|
IN_SERVICE
NEXT POSSIBLE STATE: STOPPING, RESTARTING_STOPPING
PREVIOUS STATE : STARTED [2] |
RESTARTING_STARTING
NEXT POSSIBLE STATE: STARTED
PREVIOUS STATE : RESTARTING_STOPPING [6] |
RESTARTING_STOPPING
NEXT POSSIBLE STATE: RESTARTING_STARTING
PREVIOUS STATE : STARTED, IN_SERVICE [5] |
STARTED
NEXT POSSIBLE STATE: STOPPING, RESTARTING_STOPPING
PREVIOUS STATE : STARTING [1] |
STARTING
NEXT POSSIBLE STATE: STARTED, STOPPING
PREVIOUS STATE : STOPPED [0] |
STOPPED
NEXT POSSIBLE STATE: STARTING
PREVIOUS STATE : STOPPING [4] |
STOPPING
NEXT POSSIBLE STATE: STOPPED, STARTING
PREVIOUS STATE : STARTED [3] |
| Modifier and Type | Field and Description |
|---|---|
static ServiceState[] |
INFLIGHT_STATES
states in flight/ in transition
|
static ServiceState[] |
RESTARTING_STATES
all states providing restart information
|
static ServiceState[] |
STABLE_STATES
stable states
|
static ServiceState[] |
STARTED_STATES
started states
|
static ServiceState[] |
STOPPED_STATES
stopped states
|
| Modifier and Type | Method and Description |
|---|---|
ServiceState |
next() |
static ServiceState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceState STARTING
public static final ServiceState STARTED
public static final ServiceState IN_SERVICE
public static final ServiceState STOPPING
public static final ServiceState STOPPED
public static final ServiceState RESTARTING_STOPPING
public static final ServiceState RESTARTING_STARTING
public static ServiceState[] STARTED_STATES
public static ServiceState[] STOPPED_STATES
public static ServiceState[] INFLIGHT_STATES
public static ServiceState[] STABLE_STATES
public static ServiceState[] RESTARTING_STATES
public static ServiceState[] values()
for (ServiceState c : ServiceState.values()) System.out.println(c);
public static ServiceState 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 ServiceState next()
Copyright © 2014-2016 Cinovo AG. All Rights Reserved.