public class ConnectorConfig extends Object implements org.eclipse.microprofile.config.Config
| Modifier and Type | Field and Description |
|---|---|
static String |
BROADCAST_PROPERTY
Name of the attribute configuring the broadcast on a connector.
|
static String |
CHANNEL_ENABLED_PROPERTY
Name of the attribute checking if the channel is enabled (default) or disabled.
|
static String |
MERGE_PROPERTY
Name of the attribute configuring the merge on a connector.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ConnectorConfig(String prefix,
org.eclipse.microprofile.config.Config overall,
String channel) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<org.eclipse.microprofile.config.spi.ConfigSource> |
getConfigSources() |
org.eclipse.microprofile.config.ConfigValue |
getConfigValue(String propertyName) |
<T> Optional<org.eclipse.microprofile.config.spi.Converter<T>> |
getConverter(Class<T> forType) |
<T> Optional<T> |
getOptionalValue(String propertyName,
Class<T> propertyType) |
Iterable<String> |
getPropertyNames()
Gets the lists of config keys for the given connector.
|
<T> T |
getValue(String propertyName,
Class<T> propertyType) |
<T> T |
unwrap(Class<T> type) |
public static final String CHANNEL_ENABLED_PROPERTY
public static final String BROADCAST_PROPERTY
public static final String MERGE_PROPERTY
public <T> T getValue(String propertyName, Class<T> propertyType)
getValue in interface org.eclipse.microprofile.config.Configpublic org.eclipse.microprofile.config.ConfigValue getConfigValue(String propertyName)
getConfigValue in interface org.eclipse.microprofile.config.Configpublic <T> Optional<T> getOptionalValue(String propertyName, Class<T> propertyType)
getOptionalValue in interface org.eclipse.microprofile.config.Configpublic Iterable<String> getPropertyNames()
getPropertyNames in interface org.eclipse.microprofile.config.Configpublic Iterable<org.eclipse.microprofile.config.spi.ConfigSource> getConfigSources()
getConfigSources in interface org.eclipse.microprofile.config.Configpublic <T> Optional<org.eclipse.microprofile.config.spi.Converter<T>> getConverter(Class<T> forType)
getConverter in interface org.eclipse.microprofile.config.Configpublic <T> T unwrap(Class<T> type)
unwrap in interface org.eclipse.microprofile.config.ConfigCopyright © 2018–2021 SmallRye. All rights reserved.