Interface PathAddressTransformer.Builder
- All Known Implementing Classes:
PathAddressTransformer.BuilderImpl
- Enclosing interface:
- PathAddressTransformer
public static interface PathAddressTransformer.Builder
-
Method Summary
Modifier and TypeMethodDescriptionGet the current address, from the builder.Get the unmodified (original) address.Get the remaining elements left for transformation.next(PathElement... elements) Append an element to the current address and continue to the next transformer in the chain.
-
Method Details
-
getOriginal
PathAddress getOriginal()Get the unmodified (original) address.- Returns:
- the original address
-
getCurrent
PathAddress getCurrent()Get the current address, from the builder.- Returns:
- the current address
-
getRemaining
PathAddress getRemaining()Get the remaining elements left for transformation.- Returns:
- the remaining elements for this address
-
next
Append an element to the current address and continue to the next transformer in the chain.- Parameters:
elements- the elements to append- Returns:
- the transformed address
-