Interface OperationRejectionPolicy

All Known Implementing Classes:
OperationTransformer.TransformedOperation

public interface OperationRejectionPolicy
Policy for rejecting operations on the domain controller. This allows the operation transformer to reject successfully applied operation from a slave HC, which is going to trigger a global rollback of the operation in the domain. Ignored resources on a slave HC won't get propagated and therefore can't cause a global rollback.
Author:
Emanuel Muckenhuber
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the optional failure description.
    boolean
    rejectOperation(org.jboss.dmr.ModelNode preparedResult)
    Reject the operation.
  • Method Details

    • rejectOperation

      boolean rejectOperation(org.jboss.dmr.ModelNode preparedResult)
      Reject the operation.
      Parameters:
      preparedResult - the prepared result
      Returns:
      whether to reject the operation or not
    • getFailureDescription

      String getFailureDescription()
      Get the optional failure description.
      Returns:
      the failure description