public class PayaraConfig extends Object implements org.eclipse.microprofile.config.Config
| Constructor and Description |
|---|
PayaraConfig(List<org.eclipse.microprofile.config.spi.ConfigSource> configSources,
Map<Type,org.eclipse.microprofile.config.spi.Converter> convertersMap) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<org.eclipse.microprofile.config.spi.ConfigSource> |
getConfigSources() |
Set<Type> |
getConverterTypes() |
<T> List<T> |
getListValues(String propertyName,
String defaultValue,
Class<T> elementType) |
<T> Optional<T> |
getOptionalValue(String propertyName,
Class<T> propertyType) |
Iterable<String> |
getPropertyNames() |
<T> Set<T> |
getSetValues(String propertyName,
String defaultValue,
Class<T> elementType) |
<T> T |
getValue(String propertyName,
Class<T> propertyType) |
<T> T |
getValue(String propertyName,
String defaultValue,
Class<T> propertyType) |
public <T> T getValue(String propertyName, Class<T> propertyType)
getValue 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> List<T> getListValues(String propertyName, String defaultValue, Class<T> elementType)
public <T> Set<T> getSetValues(String propertyName, String defaultValue, Class<T> elementType)
Copyright © 2019. All rights reserved.