org.jboss.arquillian.container.spi
Enum Container.State
java.lang.Object
java.lang.Enum<Container.State>
org.jboss.arquillian.container.spi.Container.State
- All Implemented Interfaces:
- Serializable, Comparable<Container.State>
- Enclosing interface:
- Container
public static enum Container.State
- extends Enum<Container.State>
Method Summary |
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. |
SETUP
public static final Container.State SETUP
SETUP_FAILED
public static final Container.State SETUP_FAILED
STARTED
public static final Container.State STARTED
STARTED_FAILED
public static final Container.State STARTED_FAILED
STOPPED
public static final Container.State STOPPED
STOPPED_FAILED
public static final Container.State STOPPED_FAILED
KILLED
public static final Container.State KILLED
KILLED_FAILED
public static final Container.State KILLED_FAILED
values
public static Container.State[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Container.State c : Container.State.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Container.State valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.