Enum RuntimeCapabilityRegistry.RuntimeStatus
- java.lang.Object
-
- java.lang.Enum<RuntimeCapabilityRegistry.RuntimeStatus>
-
- org.jboss.as.controller.capability.registry.RuntimeCapabilityRegistry.RuntimeStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<RuntimeCapabilityRegistry.RuntimeStatus>
- Enclosing interface:
- RuntimeCapabilityRegistry
public static enum RuntimeCapabilityRegistry.RuntimeStatus extends Enum<RuntimeCapabilityRegistry.RuntimeStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NORMAL
Runtime services are functioning normally as per their persistent configuration and the process' current running mode.RELOAD_REQUIRED
The process needs to be reloaded to bring runtime services for a capability in sync with their persistent configuration.RESTART_REQUIRED
The process needs to be restarted to bring runtime services for a capability in sync with their persistent configuration.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RuntimeCapabilityRegistry.RuntimeStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static RuntimeCapabilityRegistry.RuntimeStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORMAL
public static final RuntimeCapabilityRegistry.RuntimeStatus NORMAL
Runtime services are functioning normally as per their persistent configuration and the process' current running mode. Note that this may mean no runtime services if that is normal for the process type and running mode.
-
RELOAD_REQUIRED
public static final RuntimeCapabilityRegistry.RuntimeStatus RELOAD_REQUIRED
The process needs to be reloaded to bring runtime services for a capability in sync with their persistent configuration.
-
RESTART_REQUIRED
public static final RuntimeCapabilityRegistry.RuntimeStatus RESTART_REQUIRED
The process needs to be restarted to bring runtime services for a capability in sync with their persistent configuration.
-
-
Method Detail
-
values
public static RuntimeCapabilityRegistry.RuntimeStatus[] 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 (RuntimeCapabilityRegistry.RuntimeStatus c : RuntimeCapabilityRegistry.RuntimeStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RuntimeCapabilityRegistry.RuntimeStatus 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 nameNullPointerException
- if the argument is null
-
-