Interface TransformationDescription
-
public interface TransformationDescription
The final transformation description including child resources.- Author:
- Emanuel Muckenhuber
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
TransformationDescription.Tools
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<TransformationDescription>
getChildren()
Get the children descriptions.Set<String>
getDiscardedOperations()
operations that must be flat out discarded and not forwardedOperationTransformer
getOperationTransformer()
Get the default operation transformer.Map<String,OperationTransformer>
getOperationTransformers()
Get the operation transformers for specific operations.PathElement
getPath()
Get the path for this transformation description.PathAddressTransformer
getPathAddressTransformer()
Get the path transformation for this level.ResourceTransformer
getResourceTransformer()
Get the resource transformer.boolean
isInherited()
If this is a discarded or rejected resource it returnstrue
boolean
isPlaceHolder()
Return true if this description is a placeholder.
-
-
-
Method Detail
-
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:
true
if this is a discarded or rejected resource
-
getDiscardedOperations
Set<String> 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:
true
if a placeholder.
-
-