- java.lang.Object
-
- io.helidon.config.AbstractNodeBuilderImpl.MergingKey
-
- Enclosing class:
- AbstractNodeBuilderImpl<ID,B>
public static class AbstractNodeBuilderImpl.MergingKey extends Object
Internal config node key useful during internal structure building.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
first()
Returns first key token.boolean
isLeaf()
Returnstrue
in case the key represents a leaf node.static AbstractNodeBuilderImpl.MergingKey
of(String key)
Creates instance of Key parsed from string representation.AbstractNodeBuilderImpl.MergingKey
rest()
Returns a sub-key of the key.String
toString()
-
-
-
Method Detail
-
of
public static AbstractNodeBuilderImpl.MergingKey of(String key)
Creates instance of Key parsed from string representation.- Parameters:
key
- fully-qualified key- Returns:
- new instance of Key
-
first
public String first()
Returns first key token.- Returns:
- first key token.
-
rest
public AbstractNodeBuilderImpl.MergingKey rest()
Returns a sub-key of the key. If the key represents a leaf node it returnsnull
.- Returns:
- a sub-key of the key.
-
isLeaf
public boolean isLeaf()
Returnstrue
in case the key represents a leaf node.- Returns:
true
in case the key represents a leaf node.
-
-