Package org.jboss.msc.service
Enum ServiceControllerImpl.ContextState
- java.lang.Object
-
- java.lang.Enum<ServiceControllerImpl.ContextState>
-
- org.jboss.msc.service.ServiceControllerImpl.ContextState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ServiceControllerImpl.ContextState>
- Enclosing class:
- ServiceControllerImpl<S>
static enum ServiceControllerImpl.ContextState extends java.lang.Enum<ServiceControllerImpl.ContextState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASYNC
COMPLETE
FAILED
SYNC
SYNC_ASYNC_COMPLETE
SYNC_ASYNC_FAILED
-
Constructor Summary
Constructors Modifier Constructor Description private
ContextState()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServiceControllerImpl.ContextState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ServiceControllerImpl.ContextState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SYNC_ASYNC_COMPLETE
public static final ServiceControllerImpl.ContextState SYNC_ASYNC_COMPLETE
-
SYNC_ASYNC_FAILED
public static final ServiceControllerImpl.ContextState SYNC_ASYNC_FAILED
-
SYNC
public static final ServiceControllerImpl.ContextState SYNC
-
ASYNC
public static final ServiceControllerImpl.ContextState ASYNC
-
COMPLETE
public static final ServiceControllerImpl.ContextState COMPLETE
-
FAILED
public static final ServiceControllerImpl.ContextState FAILED
-
-
Method Detail
-
values
public static ServiceControllerImpl.ContextState[] 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 (ServiceControllerImpl.ContextState c : ServiceControllerImpl.ContextState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServiceControllerImpl.ContextState valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-