Package org.wildfly.subsystem.resource
Enum ResourceDescriptorRegistrar.RestartMode
- java.lang.Object
-
- java.lang.Enum<ResourceDescriptorRegistrar.RestartMode>
-
- org.wildfly.subsystem.resource.ResourceDescriptorRegistrar.RestartMode
-
- All Implemented Interfaces:
Serializable,Comparable<ResourceDescriptorRegistrar.RestartMode>
- Enclosing class:
- ResourceDescriptorRegistrar
public static enum ResourceDescriptorRegistrar.RestartMode extends Enum<ResourceDescriptorRegistrar.RestartMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RELOAD_REQUIREDRESTART_REQUIREDRESTART_SERVICES
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResourceDescriptorRegistrar.RestartModevalueOf(String name)Returns the enum constant of this type with the specified name.static ResourceDescriptorRegistrar.RestartMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESTART_SERVICES
public static final ResourceDescriptorRegistrar.RestartMode RESTART_SERVICES
-
RELOAD_REQUIRED
public static final ResourceDescriptorRegistrar.RestartMode RELOAD_REQUIRED
-
RESTART_REQUIRED
public static final ResourceDescriptorRegistrar.RestartMode RESTART_REQUIRED
-
-
Method Detail
-
values
public static ResourceDescriptorRegistrar.RestartMode[] 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 (ResourceDescriptorRegistrar.RestartMode c : ResourceDescriptorRegistrar.RestartMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResourceDescriptorRegistrar.RestartMode 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
-
-