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 class
OperationTransformer.TransformedOperation
-
Field Summary
Fields Modifier and Type Field Description static OperationTransformer
DEFAULT
static OperationRejectionPolicy
DEFAULT_REJECTION_POLICY
static OperationTransformer
DISCARD
static OperationResultTransformer
SUCCESSFUL_RESULT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OperationTransformer.TransformedOperation
transformOperation(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
-
-