Interface OperationTransformer
-
- All Known Subinterfaces:
CombinedTransformer
- All Known Implementing Classes:
AbstractOperationTransformer,AliasOperationTransformer,DiscardAttributesTransformer,DiscardUndefinedAttributesTransformer,RejectExpressionValuesTransformer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface OperationTransformer
The operation transformer. For basic implementations {@see AbstractOperationTransformer}.- Author:
- Tomaz Cerar
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classOperationTransformer.TransformedOperation
-
Field Summary
Fields Modifier and Type Field Description static OperationTransformerDEFAULTstatic OperationRejectionPolicyDEFAULT_REJECTION_POLICYstatic OperationTransformerDISCARDstatic OperationResultTransformerSUCCESSFUL_RESULT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OperationTransformer.TransformedOperationtransformOperation(TransformationContext context, PathAddress address, org.jboss.dmr.ModelNode operation)Transform the operation.
-
-
-
Field Detail
-
DEFAULT
static final OperationTransformer DEFAULT
-
DISCARD
static final OperationTransformer DISCARD
-
SUCCESSFUL_RESULT
static final OperationResultTransformer SUCCESSFUL_RESULT
-
DEFAULT_REJECTION_POLICY
static final OperationRejectionPolicy DEFAULT_REJECTION_POLICY
-
-
Method Detail
-
transformOperation
OperationTransformer.TransformedOperation transformOperation(TransformationContext context, PathAddress address, org.jboss.dmr.ModelNode operation) throws OperationFailedException
Transform the operation.- Parameters:
context- the operation contextaddress- the path addressoperation- the operation- Returns:
- the transformed operation
- Throws:
OperationFailedException
-
-