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.
The resource transformer.
- Author:
- Tomaz Cerar
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ResourceTransformerstatic final ResourceTransformer -
Method Summary
Modifier and TypeMethodDescriptionvoidtransformResource(ResourceTransformationContext context, PathAddress address, Resource resource) Transform a resource.
-
Field Details
-
DEFAULT
-
DISCARD
-
-
Method Details
-
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
-