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 ResourceTransformer
DEFAULT
static ResourceTransformer
DISCARD
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
transformResource(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
-
-