EMPTY, END_DELIM, START_DELIM| Constructor and Description |
|---|
CompositeKey() |
CompositeKey(CompositeKey parent,
ConfigKey child) |
CompositeKey(CompositeKey parent,
String child) |
CompositeKey(SimpleKey... parts) |
CompositeKey(String... parts) |
| Modifier and Type | Method and Description |
|---|---|
CompositeKey |
append(ConfigKey key)
Return a new key with the given key appended.
|
CompositeKey |
append(String... names)
Return a new key with the given segments appended.
|
boolean |
equals(Object obj) |
int |
hashCode() |
SimpleKey |
head()
Return the first segment of this key.
|
String |
name()
String representation of this key's name.
|
String |
propertyName()
String representation of this key's name in property format.
|
ConfigKey |
subkey(int offset)
Return the subkey of this key from a given offset.
|
String |
toString() |
public CompositeKey()
public CompositeKey(SimpleKey... parts)
public CompositeKey(String... parts)
public CompositeKey(CompositeKey parent, ConfigKey child)
public CompositeKey(CompositeKey parent, String child)
public SimpleKey head()
ConfigKeypublic ConfigKey subkey(int offset)
ConfigKeysubkey in interface ConfigKeyoffset - The number of segments offset from the head to subkey.ConfigKey.EMPTY.public String name()
ConfigKeypublic String propertyName()
ConfigKeypropertyName in interface ConfigKeypublic CompositeKey append(String... names)
ConfigKeypublic CompositeKey append(ConfigKey key)
ConfigKeyCopyright © 2017 JBoss by Red Hat. All rights reserved.