Class AbstractServerUpdateActionResult<T extends ServerUpdateActionResult>
java.lang.Object
org.jboss.as.controller.client.helpers.standalone.AbstractServerUpdateActionResult<T>
- All Implemented Interfaces:
Serializable,ServerUpdateActionResult
- Direct Known Subclasses:
SimpleServerDeploymentActionResult,SimpleServerUpdateActionResult
public abstract class AbstractServerUpdateActionResult<T extends ServerUpdateActionResult>
extends Object
implements ServerUpdateActionResult, Serializable
Abstract superclass of implementations of
ServerUpdateActionResult.- Author:
- Brian Stansberry
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jboss.as.controller.client.helpers.standalone.ServerUpdateActionResult
ServerUpdateActionResult.Result -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractServerUpdateActionResult(UUID id, Throwable deploymentException) AbstractServerUpdateActionResult(UUID id, ServerUpdateActionResult.Result result, Throwable deploymentException) -
Method Summary
Modifier and TypeMethodDescriptionGets the exception, if any, that occurred while executing this action.Gets the result of the action's modification to the server's configuration.Gets the unique ID of the deployment action.static <R extends ServerUpdateActionResult>
voidinstallRollbackResult(AbstractServerUpdateActionResult<R> update, ServerUpdateActionResult rollback)
-
Constructor Details
-
AbstractServerUpdateActionResult
protected AbstractServerUpdateActionResult() -
AbstractServerUpdateActionResult
-
AbstractServerUpdateActionResult
-
AbstractServerUpdateActionResult
public AbstractServerUpdateActionResult(UUID id, ServerUpdateActionResult.Result result, Throwable deploymentException)
-
-
Method Details
-
getUpdateActionId
Description copied from interface:ServerUpdateActionResultGets the unique ID of the deployment action.- Specified by:
getUpdateActionIdin interfaceServerUpdateActionResult- Returns:
- the ID. Will not be
null
-
getDeploymentException
Description copied from interface:ServerUpdateActionResultGets the exception, if any, that occurred while executing this action.- Specified by:
getDeploymentExceptionin interfaceServerUpdateActionResult- Returns:
- the exception, or
nullif no exception occurred
-
getResult
Description copied from interface:ServerUpdateActionResultGets the result of the action's modification to the server's configuration.- Specified by:
getResultin interfaceServerUpdateActionResult- Returns:
- the result. Will not be
null
-
getRollbackResult
Description copied from interface:ServerUpdateActionResult- Specified by:
getRollbackResultin interfaceServerUpdateActionResult- Returns:
- the result of rolling back the action, or
nullif the action was not rolled back.
-
getRollbackResultClass
-
installRollbackResult
public static <R extends ServerUpdateActionResult> void installRollbackResult(AbstractServerUpdateActionResult<R> update, ServerUpdateActionResult rollback)
-