public static enum ManagedServiceInfo.ServiceState extends Enum<ManagedServiceInfo.ServiceState>
| Enum Constant and Description |
|---|
FAILED |
INITIALIZING |
KILLED |
READY |
STARTING |
STOPPED |
STOPPING |
| Modifier and Type | Method and Description |
|---|---|
static ManagedServiceInfo.ServiceState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ManagedServiceInfo.ServiceState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ManagedServiceInfo.ServiceState STARTING
public static final ManagedServiceInfo.ServiceState INITIALIZING
public static final ManagedServiceInfo.ServiceState READY
public static final ManagedServiceInfo.ServiceState FAILED
public static final ManagedServiceInfo.ServiceState STOPPING
public static final ManagedServiceInfo.ServiceState STOPPED
public static final ManagedServiceInfo.ServiceState KILLED
public static ManagedServiceInfo.ServiceState[] values()
for (ManagedServiceInfo.ServiceState c : ManagedServiceInfo.ServiceState.values()) System.out.println(c);
public static ManagedServiceInfo.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 nullCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.