public abstract class AbstractOperationTransformer extends Object implements OperationTransformer, OperationResultTransformer
OperationTransformer implementations, which don't need to transform the operation result.OperationTransformer.TransformedOperationDEFAULT, DEFAULT_REJECTION_POLICY, DISCARD, SUCCESSFUL_RESULTORIGINAL_RESULT| Constructor and Description |
|---|
AbstractOperationTransformer() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract org.jboss.dmr.ModelNode |
transform(TransformationContext context,
PathAddress address,
org.jboss.dmr.ModelNode operation)
Transform the operation only.
|
OperationTransformer.TransformedOperation |
transformOperation(TransformationContext context,
PathAddress address,
org.jboss.dmr.ModelNode operation)
Transform the operation.
|
org.jboss.dmr.ModelNode |
transformResult(org.jboss.dmr.ModelNode result)
Transform the operation result.
|
protected abstract org.jboss.dmr.ModelNode transform(TransformationContext context, PathAddress address, org.jboss.dmr.ModelNode operation)
context - the transformation contextaddress - the operation addressoperation - the original operationpublic OperationTransformer.TransformedOperation transformOperation(TransformationContext context, PathAddress address, org.jboss.dmr.ModelNode operation)
OperationTransformertransformOperation in interface OperationTransformercontext - the operation contextaddress - the path addressoperation - the operationpublic org.jboss.dmr.ModelNode transformResult(org.jboss.dmr.ModelNode result)
OperationResultTransformertransformResult in interface OperationResultTransformerresult - the operation response, including any outcomeCopyright © 2021 JBoss by Red Hat. All rights reserved.