Package | Description |
---|---|
org.wildfly.swarm.container.config | |
org.wildfly.swarm.spi.api.config |
Modifier and Type | Method and Description |
---|---|
Stream<ConfigKey> |
ConfigNode.allKeysRecursively()
Retrieve all descendent keys.
|
Stream<ConfigKey> |
ConfigViewImpl.allKeysRecursively() |
Modifier and Type | Method and Description |
---|---|
boolean |
ConfigViewImpl.hasKeyOrSubkeys(ConfigKey subPrefix) |
void |
ConfigNode.recursiveChild(ConfigKey key,
Object value)
Set the value of a descendant.
|
Resolver<String> |
ConfigViewImpl.resolve(ConfigKey key) |
List<SimpleKey> |
ConfigViewImpl.simpleSubkeys(ConfigKey prefix) |
Object |
ConfigNode.valueOf(ConfigKey key)
Retrieve a value.
|
Object |
ConfigViewImpl.valueOf(ConfigKey key)
Retrieve a configuration value by key.
|
Modifier and Type | Class and Description |
---|---|
class |
CompositeKey
A multi-segment configuration key.
|
class |
SimpleKey |
Modifier and Type | Method and Description |
---|---|
ConfigKey |
ConfigKey.append(ConfigKey key)
Return a new key with the given key appended.
|
ConfigKey |
SimpleKey.append(ConfigKey key) |
ConfigKey |
ConfigKey.append(String... names)
Return a new key with the given segments appended.
|
ConfigKey |
SimpleKey.append(String... names) |
ConfigKey |
Builder.getKey() |
ConfigKey |
Resolver.getKey()
Retrieve the key of the configuration item.
|
static ConfigKey |
ConfigKey.of(String... parts)
Create a key from a series of names.
|
static ConfigKey |
ConfigKey.parse(String str)
Parse a multi-segment key from a single string.
|
ConfigKey |
CompositeKey.subkey(int offset) |
ConfigKey |
ConfigKey.subkey(int offset)
Return the subkey of this key from a given offset.
|
ConfigKey |
SimpleKey.subkey(int offset) |
Modifier and Type | Method and Description |
---|---|
Stream<ConfigKey> |
ConfigView.allKeysRecursively() |
Modifier and Type | Method and Description |
---|---|
CompositeKey |
CompositeKey.append(ConfigKey key) |
ConfigKey |
ConfigKey.append(ConfigKey key)
Return a new key with the given key appended.
|
ConfigKey |
SimpleKey.append(ConfigKey key) |
boolean |
ConfigView.hasKeyOrSubkeys(ConfigKey subPrefix) |
boolean |
CompositeKey.isChildOf(ConfigKey possibleParent) |
boolean |
ConfigKey.isChildOf(ConfigKey possibleParent)
Determine if this key is a child of the argument.
|
boolean |
SimpleKey.isChildOf(ConfigKey possibleParent) |
Resolver<String> |
ConfigView.resolve(ConfigKey key) |
List<SimpleKey> |
ConfigView.simpleSubkeys(ConfigKey prefix) |
Object |
ConfigView.valueOf(ConfigKey key) |
Constructor and Description |
---|
Builder(ConfigView view,
ConfigKey key) |
CompositeKey(CompositeKey parent,
ConfigKey child) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.