Interface TransformationDescription
public interface TransformationDescription
The final transformation description including child resources.
- Author:
- Emanuel Muckenhuber
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionGet the children descriptions.operations that must be flat out discarded and not forwardedGet the default operation transformer.Get the operation transformers for specific operations.getPath()Get the path for this transformation description.Get the path transformation for this level.Get the resource transformer.booleanIf this is a discarded or rejected resource it returnstruebooleanReturn true if this description is a placeholder.
-
Method Details
-
getPath
PathElement getPath()Get the path for this transformation description.- Returns:
- the path element
-
getPathAddressTransformer
PathAddressTransformer getPathAddressTransformer()Get the path transformation for this level.- Returns:
- the path transformation
-
getOperationTransformer
OperationTransformer getOperationTransformer()Get the default operation transformer.- Returns:
- the operation transformer
-
getResourceTransformer
ResourceTransformer getResourceTransformer()Get the resource transformer.- Returns:
- the resource transformer
-
getOperationTransformers
Map<String,OperationTransformer> getOperationTransformers()Get the operation transformers for specific operations.- Returns:
- the operation transformer overrides
-
getChildren
List<TransformationDescription> getChildren()Get the children descriptions.- Returns:
- the children
-
isInherited
boolean isInherited()If this is a discarded or rejected resource it returnstrue- Returns:
trueif this is a discarded or rejected resource
-
getDiscardedOperations
operations that must be flat out discarded and not forwarded- Returns:
- set of discarded operations
-
isPlaceHolder
boolean isPlaceHolder()Return true if this description is a placeholder. This is currently only true for chained descriptions- Returns:
trueif a placeholder.
-