Class PathAddressTransformer.BuilderImpl
- java.lang.Object
-
- org.jboss.as.controller.transform.PathAddressTransformer.BuilderImpl
-
- All Implemented Interfaces:
PathAddressTransformer.Builder
- Enclosing interface:
- PathAddressTransformer
public static class PathAddressTransformer.BuilderImpl extends Object implements PathAddressTransformer.Builder
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BuilderImpl(Iterator<PathAddressTransformer> transformers, PathAddress original)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PathAddress
getCurrent()
Get the current address, from the builder.PathAddress
getOriginal()
Get the unmodified (original) address.PathAddress
getRemaining()
Get the remaining elements left for transformation.PathAddress
next(PathElement... elements)
Append an element to the current address and continue to the next transformer in the chain.protected PathAddress
start()
-
-
-
Constructor Detail
-
BuilderImpl
protected BuilderImpl(Iterator<PathAddressTransformer> transformers, PathAddress original)
-
-
Method Detail
-
getOriginal
public PathAddress getOriginal()
Description copied from interface:PathAddressTransformer.Builder
Get the unmodified (original) address.- Specified by:
getOriginal
in interfacePathAddressTransformer.Builder
- Returns:
- the original address
-
getCurrent
public PathAddress getCurrent()
Description copied from interface:PathAddressTransformer.Builder
Get the current address, from the builder.- Specified by:
getCurrent
in interfacePathAddressTransformer.Builder
- Returns:
- the current address
-
getRemaining
public PathAddress getRemaining()
Description copied from interface:PathAddressTransformer.Builder
Get the remaining elements left for transformation.- Specified by:
getRemaining
in interfacePathAddressTransformer.Builder
- Returns:
- the remaining elements for this address
-
next
public PathAddress next(PathElement... elements)
Description copied from interface:PathAddressTransformer.Builder
Append an element to the current address and continue to the next transformer in the chain.- Specified by:
next
in interfacePathAddressTransformer.Builder
- Parameters:
elements
- the elements to append- Returns:
- the transformed address
-
start
protected PathAddress start()
-
-