Interface ResourceTransformer
-
- All Known Subinterfaces:
CombinedTransformer
- All Known Implementing Classes:
AddNameFromAddressResourceTransformer,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 ResourceTransformer
The resource transformer.- Author:
- Tomaz Cerar
-
-
Field Summary
Fields Modifier and Type Field Description static ResourceTransformerDEFAULTstatic ResourceTransformerDISCARD
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidtransformResource(ResourceTransformationContext context, PathAddress address, Resource resource)Transform a resource.
-
-
-
Field Detail
-
DEFAULT
static final ResourceTransformer DEFAULT
-
DISCARD
static final ResourceTransformer DISCARD
-
-
Method Detail
-
transformResource
void transformResource(ResourceTransformationContext context, PathAddress address, Resource resource) throws OperationFailedException
Transform a resource.- Parameters:
context- the resource transformation contextaddress- the path addressresource- the resource to transform- Throws:
OperationFailedException
-
-