Class UpdateResultHandlerResponse
java.lang.Object
org.jboss.as.controller.client.helpers.domain.impl.UpdateResultHandlerResponse
- All Implemented Interfaces:
Serializable
Encapsulates the possible values that can be passed to an
UpdateResultHandler's callback methods.- Author:
- Brian Stansberry
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic UpdateResultHandlerResponsestatic UpdateResultHandlerResponsecreateFailureResponse(Throwable cause) static UpdateResultHandlerResponsestatic UpdateResultHandlerResponsestatic UpdateResultHandlerResponsecreateRollbackFailedResponse(UpdateResultHandlerResponse rolledBack, Throwable cause) static UpdateResultHandlerResponsecreateRollbackResponse(UpdateResultHandlerResponse rolledBack) static UpdateResultHandlerResponsestatic UpdateResultHandlerResponsecreateSuccessResponse(ModelNode result) static UpdateResultHandlerResponsestatic UpdateResultHandlerResponsefromModelNode(ModelNode modelNode) booleanbooleanbooleanbooleanbooleanboolean
-
Method Details
-
fromModelNode
-
createSuccessResponse
-
createFailureResponse
-
createCancellationResponse
-
createTimeoutResponse
-
createRollbackResponse
public static UpdateResultHandlerResponse createRollbackResponse(UpdateResultHandlerResponse rolledBack) -
createRollbackCancelledResponse
public static UpdateResultHandlerResponse createRollbackCancelledResponse(UpdateResultHandlerResponse rolledBack) -
createRollbackTimedOutResponse
public static UpdateResultHandlerResponse createRollbackTimedOutResponse(UpdateResultHandlerResponse rolledBack) -
createRollbackFailedResponse
public static UpdateResultHandlerResponse createRollbackFailedResponse(UpdateResultHandlerResponse rolledBack, Throwable cause) -
createRestartResponse
-
isRollbackCancelled
public boolean isRollbackCancelled() -
isRollbackTimedOut
public boolean isRollbackTimedOut() -
getRollbackFailure
-
getSuccessResult
-
getFailureResult
-
isCancelled
public boolean isCancelled() -
isTimedOut
public boolean isTimedOut() -
isRolledBack
public boolean isRolledBack() -
isServerRestarted
public boolean isServerRestarted()
-