public class DefaultConfigurationContextBuilder extends Object implements ConfigurationContextBuilder
ConfigurationContextBuilder
.Constructor and Description |
---|
DefaultConfigurationContextBuilder() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyFilters, addPropertySources, removePropertyFilters, removePropertySources
public ConfigurationContextBuilder setContext(ConfigurationContext context)
setContext
in interface ConfigurationContextBuilder
public ConfigurationContextBuilder addPropertySources(Collection<PropertySource> propertySourcesToAdd)
addPropertySources
in interface ConfigurationContextBuilder
public ConfigurationContextBuilder removePropertySources(Collection<String> propertySourcesToRemove)
removePropertySources
in interface ConfigurationContextBuilder
public ConfigurationContextBuilder addPropertyFilters(Collection<PropertyFilter> filters)
addPropertyFilters
in interface ConfigurationContextBuilder
public ConfigurationContextBuilder removePropertyFilters(java.util.function.Predicate<PropertyFilter> selector)
removePropertyFilters
in interface ConfigurationContextBuilder
public ConfigurationContextBuilder removePropertyFilters(Collection<PropertyFilter> filters)
removePropertyFilters
in interface ConfigurationContextBuilder
public ConfigurationContextBuilder removePropertySources(java.util.function.Predicate<PropertySource> selector)
removePropertySources
in interface ConfigurationContextBuilder
public <T> ConfigurationContextBuilder addPropertyConverter(TypeLiteral<T> typeToConvert, PropertyConverter<T> propertyConverter)
addPropertyConverter
in interface ConfigurationContextBuilder
public ConfigurationContextBuilder removePropertyConverters(TypeLiteral<?> typeToConvert, PropertyConverter<?>... converters)
removePropertyConverters
in interface ConfigurationContextBuilder
public ConfigurationContextBuilder removePropertyConverters(TypeLiteral<?> typeToConvert, Collection<PropertyConverter<?>> converters)
removePropertyConverters
in interface ConfigurationContextBuilder
public ConfigurationContextBuilder setPropertyValueCombinationPolicy(PropertyValueCombinationPolicy policy)
setPropertyValueCombinationPolicy
in interface ConfigurationContextBuilder
public ConfigurationContext build()
build
in interface ConfigurationContextBuilder
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.