public static enum ResourceContainer.State extends Enum<ResourceContainer.State>
Enum Constant and Description |
---|
CREATED
Created but not ready for attaching (initializing).
|
DEAD
Container is destroyed.
|
RUNNING
Ready for attaching.
|
STOPPING
ResourceContainer.destroy() has been called. |
Modifier and Type | Method and Description |
---|---|
static ResourceContainer.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceContainer.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceContainer.State CREATED
public static final ResourceContainer.State RUNNING
public static final ResourceContainer.State STOPPING
ResourceContainer.destroy()
has been called.public static final ResourceContainer.State DEAD
public static ResourceContainer.State[] values()
for (ResourceContainer.State c : ResourceContainer.State.values()) System.out.println(c);
public static ResourceContainer.State 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 null"Copyright 2018, Alibaba, Inc."