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 protectedBuilderImpl(Iterator<PathAddressTransformer> transformers, PathAddress original)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PathAddressgetCurrent()Get the current address, from the builder.PathAddressgetOriginal()Get the unmodified (original) address.PathAddressgetRemaining()Get the remaining elements left for transformation.PathAddressnext(PathElement... elements)Append an element to the current address and continue to the next transformer in the chain.protected PathAddressstart()
-
-
-
Constructor Detail
-
BuilderImpl
protected BuilderImpl(Iterator<PathAddressTransformer> transformers, PathAddress original)
-
-
Method Detail
-
getOriginal
public PathAddress getOriginal()
Description copied from interface:PathAddressTransformer.BuilderGet the unmodified (original) address.- Specified by:
getOriginalin interfacePathAddressTransformer.Builder- Returns:
- the original address
-
getCurrent
public PathAddress getCurrent()
Description copied from interface:PathAddressTransformer.BuilderGet the current address, from the builder.- Specified by:
getCurrentin interfacePathAddressTransformer.Builder- Returns:
- the current address
-
getRemaining
public PathAddress getRemaining()
Description copied from interface:PathAddressTransformer.BuilderGet the remaining elements left for transformation.- Specified by:
getRemainingin interfacePathAddressTransformer.Builder- Returns:
- the remaining elements for this address
-
next
public PathAddress next(PathElement... elements)
Description copied from interface:PathAddressTransformer.BuilderAppend an element to the current address and continue to the next transformer in the chain.- Specified by:
nextin interfacePathAddressTransformer.Builder- Parameters:
elements- the elements to append- Returns:
- the transformed address
-
start
protected PathAddress start()
-
-