public class ExpandingConfigSource extends AbstractDelegatingConfigSource
| Modifier and Type | Class and Description |
|---|---|
static class |
ExpandingConfigSource.Cache
An expression cache to use with
ExpandingConfigSource. |
(package private) static class |
ExpandingConfigSource.Ser |
delegate| Constructor and Description |
|---|
ExpandingConfigSource(org.eclipse.microprofile.config.spi.ConfigSource delegate,
ExpandingConfigSource.Cache cache)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) String |
expand(String value) |
static String |
expandValue(String value,
ExpandingConfigSource.Cache cache) |
void |
flush() |
Set<String> |
getPropertyNames() |
String |
getValue(String propertyName) |
static boolean |
setExpanding(boolean newValue) |
String |
toString() |
static UnaryOperator<org.eclipse.microprofile.config.spi.ConfigSource> |
wrapper(ExpandingConfigSource.Cache cache) |
(package private) Object |
writeReplace() |
getDelegate, getName, getOrdinal, getPropertiespublic ExpandingConfigSource(org.eclipse.microprofile.config.spi.ConfigSource delegate,
ExpandingConfigSource.Cache cache)
delegate - the delegate config source (must not be null)cache - the cache instance to use (must not be null)public static UnaryOperator<org.eclipse.microprofile.config.spi.ConfigSource> wrapper(ExpandingConfigSource.Cache cache)
public Set<String> getPropertyNames()
getPropertyNames in interface org.eclipse.microprofile.config.spi.ConfigSourcegetPropertyNames in class AbstractDelegatingConfigSourceObject writeReplace() throws ObjectStreamException
ObjectStreamExceptionpublic void flush()
public static boolean setExpanding(boolean newValue)
public static String expandValue(String value, ExpandingConfigSource.Cache cache)
Copyright © 2020 JBoss by Red Hat. All rights reserved.