public enum ServiceLifeState extends Enum<ServiceLifeState>
Enum Constant and Description |
---|
INITIALIZED
Service has been initialized.
|
STARTED
Service in running.
|
STARTING
Service in starting.
|
STOPPED
Service has been stopped.
|
STOPPING
Service is stopping.
|
Modifier and Type | Method and Description |
---|---|
static ServiceLifeState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceLifeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceLifeState INITIALIZED
public static final ServiceLifeState STARTING
public static final ServiceLifeState STARTED
public static final ServiceLifeState STOPPING
public static final ServiceLifeState STOPPED
public static ServiceLifeState[] values()
for (ServiceLifeState c : ServiceLifeState.values()) System.out.println(c);
public static ServiceLifeState 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 nullCopyright © 2017–2020 OpenMessaging. All rights reserved.