public class ExpandingConfigSource extends AbstractDelegatingConfigSource
Modifier and Type | Class and Description |
---|---|
static class |
ExpandingConfigSource.Cache
An expression cache to use with
ExpandingConfigSource . |
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) |
static UnaryOperator<org.eclipse.microprofile.config.spi.ConfigSource> |
wrapper(ExpandingConfigSource.Cache cache) |
getDelegate, getName, getProperties
public 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.ConfigSource
getPropertyNames
in class AbstractDelegatingConfigSource
public void flush()
public static boolean setExpanding(boolean newValue)
public static String expandValue(String value, ExpandingConfigSource.Cache cache)
Copyright © 2019 JBoss by Red Hat. All rights reserved.