public class ConnectorConfig extends Object implements org.eclipse.microprofile.config.Config
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() |
<T> Optional<T> |
getOptionalValue(String propertyName,
Class<T> propertyType) |
Iterable<String> |
getPropertyNames() |
<T> T |
getValue(String propertyName,
Class<T> propertyType) |
public <T> T getValue(String propertyName, Class<T> propertyType)
getValue
in interface org.eclipse.microprofile.config.Config
public <T> Optional<T> getOptionalValue(String propertyName, Class<T> propertyType)
getOptionalValue
in interface org.eclipse.microprofile.config.Config
public Iterable<String> getPropertyNames()
getPropertyNames
in interface org.eclipse.microprofile.config.Config
public Iterable<org.eclipse.microprofile.config.spi.ConfigSource> getConfigSources()
getConfigSources
in interface org.eclipse.microprofile.config.Config
Copyright © 2018–2020 SmallRye. All rights reserved.