public static enum Container.State extends Enum<Container.State>
Enum Constant and Description |
---|
KILLED |
KILLED_FAILED |
SETUP |
SETUP_FAILED |
STARTED |
STARTED_FAILED |
STOPPED |
STOPPED_FAILED |
Modifier and Type | Method and Description |
---|---|
static Container.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Container.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Container.State SETUP
public static final Container.State SETUP_FAILED
public static final Container.State STARTED
public static final Container.State STARTED_FAILED
public static final Container.State STOPPED
public static final Container.State STOPPED_FAILED
public static final Container.State KILLED
public static final Container.State KILLED_FAILED
public static Container.State[] values()
for (Container.State c : Container.State.values()) System.out.println(c);
public static Container.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 nullCopyright © 2018 JBoss by Red Hat. All rights reserved.