- 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 Stringfirst()Returns first key token.booleanisLeaf()Returnstruein case the key represents a leaf node.static AbstractNodeBuilderImpl.MergingKeyof(String key)Creates instance of Key parsed from string representation.AbstractNodeBuilderImpl.MergingKeyrest()Returns a sub-key of the key.StringtoString()
-
-
-
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()
Returnstruein case the key represents a leaf node.- Returns:
truein case the key represents a leaf node.
-
-