public abstract static class ResourcesConfig.Builder extends ConfigBuilder<ResourcesConfig.Builder>
ResourcesConfig
.ConfigBuilder.NamingConvention
Modifier and Type | Method and Description |
---|---|
ResourcesConfig |
build()
Builds and returns a
ResourcesConfig with the desired values. |
protected ResourcesConfig.Builder |
fromConfigMap(java.util.Map<java.lang.String,java.lang.String> configMap,
ConfigBuilder.NamingConvention namingConvention)
Sets the configuration values from the given configuration map for only the available keys.
|
abstract ResourcesConfig.Builder |
setDisabledResourceProviders(java.util.Set<java.lang.String> disabledResourceProviders)
Sets the fully qualified class names of
ResourceProvider implementations that are
found on the classpath but should be disabled. |
getBooleanProperty, getDoubleProperty, getIntProperty, getLongProperty, getStringProperty, readEnvironmentVariables, readProperties, readSystemProperties
protected ResourcesConfig.Builder fromConfigMap(java.util.Map<java.lang.String,java.lang.String> configMap, ConfigBuilder.NamingConvention namingConvention)
fromConfigMap
in class ConfigBuilder<ResourcesConfig.Builder>
configMap
- Map
holding the configuration values.public abstract ResourcesConfig.Builder setDisabledResourceProviders(java.util.Set<java.lang.String> disabledResourceProviders)
ResourceProvider
implementations that are
found on the classpath but should be disabled.disabledResourceProviders
- the fully qualified class names of ResourceProvider
implementations that are found on the classpath but should be disabled.public ResourcesConfig build()
ResourcesConfig
with the desired values.ResourcesConfig
with the desired values.