Class AbstractOperationTransformer

    • Constructor Detail

      • AbstractOperationTransformer

        public AbstractOperationTransformer()
    • Method Detail

      • 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
      • 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