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