Enum ServerUpdateActionResult.Result
- java.lang.Object
-
- java.lang.Enum<ServerUpdateActionResult.Result>
-
- org.jboss.as.controller.client.helpers.standalone.ServerUpdateActionResult.Result
-
- All Implemented Interfaces:
Serializable,Comparable<ServerUpdateActionResult.Result>
- Enclosing interface:
- ServerUpdateActionResult
public static enum ServerUpdateActionResult.Result extends Enum<ServerUpdateActionResult.Result>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONFIGURATION_MODIFIED_REQUIRES_RESTARTIndicates a successful outcome for an action that is part of an update plan that is organized around a server restart.EXECUTEDThe action was successfully executed; server configuration was modified and any deployment changes were initiated in a running server.FAILEDThe action failed to complete successfully.NOT_EXECUTEDIndicates the action was not executed because some problem with the overall update plan halted plan execution before this action was attempted.ROLLED_BACKThe action completed successfully, but was rolled back due to a problem with some other action in the overall deployment plan.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServerUpdateActionResult.ResultvalueOf(String name)Returns the enum constant of this type with the specified name.static ServerUpdateActionResult.Result[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_EXECUTED
public static final ServerUpdateActionResult.Result NOT_EXECUTED
Indicates the action was not executed because some problem with the overall update plan halted plan execution before this action was attempted.
-
EXECUTED
public static final ServerUpdateActionResult.Result EXECUTED
The action was successfully executed; server configuration was modified and any deployment changes were initiated in a running server.
-
CONFIGURATION_MODIFIED_REQUIRES_RESTART
public static final ServerUpdateActionResult.Result CONFIGURATION_MODIFIED_REQUIRES_RESTART
Indicates a successful outcome for an action that is part of an update plan that is organized around a server restart. The server configuration was successfully modified but the ability to effect changes in a running server is unknown, as completing the action requires restarting the server.
-
FAILED
public static final ServerUpdateActionResult.Result FAILED
The action failed to complete successfully. SeeServerUpdateActionResult.getDeploymentException()for possible details.
-
ROLLED_BACK
public static final ServerUpdateActionResult.Result ROLLED_BACK
The action completed successfully, but was rolled back due to a problem with some other action in the overall deployment plan.
-
-
Method Detail
-
values
public static ServerUpdateActionResult.Result[] 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 (ServerUpdateActionResult.Result c : ServerUpdateActionResult.Result.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServerUpdateActionResult.Result 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
-
-