Class AbstractOperationTransformer

java.lang.Object
org.jboss.as.controller.transform.AbstractOperationTransformer
All Implemented Interfaces:
OperationResultTransformer, OperationTransformer

public abstract class AbstractOperationTransformer extends Object implements OperationTransformer, OperationResultTransformer
Base class for OperationTransformer implementations, which don't need to transform the operation result.
Author:
Emanuel Muckenhuber
  • Constructor Details

    • AbstractOperationTransformer

      public AbstractOperationTransformer()
  • Method Details

    • transform

      protected abstract org.jboss.dmr.ModelNode transform(TransformationContext context, PathAddress address, org.jboss.dmr.ModelNode operation)
      Transform the operation only.
      Parameters:
      context - the transformation context
      address - the operation address
      operation - the original operation
      Returns:
      the transformed operation
    • transformOperation

      public OperationTransformer.TransformedOperation transformOperation(TransformationContext context, PathAddress address, org.jboss.dmr.ModelNode operation)
      Description copied from interface: OperationTransformer
      Transform the operation.
      Specified by:
      transformOperation in interface OperationTransformer
      Parameters:
      context - the operation context
      address - the path address
      operation - the operation
      Returns:
      the transformed operation
    • transformResult

      public org.jboss.dmr.ModelNode transformResult(org.jboss.dmr.ModelNode result)
      Description copied from interface: OperationResultTransformer
      Transform the operation result.
      Specified by:
      transformResult in interface OperationResultTransformer
      Parameters:
      result - the operation response, including any outcome
      Returns:
      the transformed response