public enum ContainerState extends Enum<ContainerState> implements State<ContainerState>
| Enum Constant and Description |
|---|
active
The state of a container in which all applications are active.
|
down
The state of a container which has been explicitly shutdown.
|
failed
The state of a container that has not completed initialisation.
|
partActive
The state of a container in which not all applications are active.
|
started
The state of a container that is in the process of initialisation.
|
stopped
The state of a container in which applications can no longer accept requests, even though they may in the future.
|
| Modifier and Type | Method and Description |
|---|---|
String |
event()
Returns the event corresponding to this state.
|
static ContainerState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContainerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfnext, remoteFormpublic static final ContainerState started
public static final ContainerState partActive
public static final ContainerState active
public static final ContainerState stopped
public static final ContainerState down
public static final ContainerState failed
public static ContainerState[] values()
for (ContainerState c : ContainerState.values()) System.out.println(c);
public static ContainerState 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 String event()
Stateevent in interface State<ContainerState>Copyright © 2016. All Rights Reserved.