@Deprecated public static enum ServiceController.Substate extends Enum<ServiceController.Substate>
ServiceController.State
s. The list of possible
substates may change over time, so users should not rely on its permanence.Enum Constant and Description |
---|
CANCELLED
Deprecated.
Cancelled controller installation due to duplicate or other problem.
|
DOWN
Deprecated.
Controller is down.
|
NEW
Deprecated.
New controller being installed.
|
PROBLEM
Deprecated.
Controller cannot start due to a problem with a dependency or transitive dependency.
|
REMOVED
Deprecated.
Service has been removed.
|
REMOVING
Deprecated.
Service is being removed.
|
START_FAILED
Deprecated.
Start failed.
|
START_INITIATING
Deprecated.
First phase of start processing.
|
START_REQUESTED
Deprecated.
A stopped controller has been requested to start.
|
STARTING
Deprecated.
Second phase of start processing (
start() method invoked). |
STOP_REQUESTED
Deprecated.
Service is up but has been requested to stop.
|
STOPPING
Deprecated.
Service is stopping.
|
UP
Deprecated.
Service is up.
|
WAITING
Deprecated.
Controller is waiting for an external condition to start, such as a dependent demand.
|
WONT_START
Deprecated.
Controller is configured not to start.
|
Modifier and Type | Method and Description |
---|---|
ServiceController.State |
getState()
Deprecated.
Get the state corresponding to this sub-state.
|
boolean |
in(ServiceController.Substate... substates)
Deprecated.
Determine if this substate is one of the given substates.
|
boolean |
isRestState()
Deprecated.
Determine whether this is a "rest" state.
|
static ServiceController.Substate |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static ServiceController.Substate[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceController.Substate NEW
public static final ServiceController.Substate CANCELLED
public static final ServiceController.Substate DOWN
public static final ServiceController.Substate WAITING
public static final ServiceController.Substate WONT_START
public static final ServiceController.Substate PROBLEM
public static final ServiceController.Substate START_REQUESTED
public static final ServiceController.Substate START_INITIATING
public static final ServiceController.Substate STARTING
start()
method invoked).public static final ServiceController.Substate START_FAILED
public static final ServiceController.Substate UP
public static final ServiceController.Substate STOP_REQUESTED
public static final ServiceController.Substate STOPPING
public static final ServiceController.Substate REMOVING
public static final ServiceController.Substate REMOVED
public static ServiceController.Substate[] values()
for (ServiceController.Substate c : ServiceController.Substate.values()) System.out.println(c);
public static ServiceController.Substate 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 boolean isRestState()
true
if it is a rest state, false
otherwisepublic ServiceController.State getState()
public boolean in(ServiceController.Substate... substates)
substates
- the substates to checktrue
if this substate is in the set; false
otherwiseCopyright © 2019 JBoss by Red Hat. All rights reserved.