public class DefaultConfigurationContextBuilder extends Object implements ConfigurationContextBuilder
ConfigurationContextBuilder
.Constructor and Description |
---|
DefaultConfigurationContextBuilder() |
public ConfigurationContextBuilder setContext(ConfigurationContext context)
setContext
in interface ConfigurationContextBuilder
public ConfigurationContextBuilder addPropertySources(Collection<PropertySource> propertySourcesToAdd)
addPropertySources
in interface ConfigurationContextBuilder
public ConfigurationContextBuilder addPropertySources(PropertySource... propertySourcesToAdd)
addPropertySources
in interface ConfigurationContextBuilder
public ConfigurationContextBuilder removePropertySources(Collection<String> propertySourcesToRemove)
removePropertySources
in interface ConfigurationContextBuilder
public ConfigurationContextBuilder removePropertySources(String... propertySourcesToRemove)
removePropertySources
in interface ConfigurationContextBuilder
public ConfigurationContextBuilder addPropertyFilters(Collection<PropertyFilter> filters)
addPropertyFilters
in interface ConfigurationContextBuilder
public ConfigurationContextBuilder addPropertyFilters(PropertyFilter... filters)
addPropertyFilters
in interface ConfigurationContextBuilder
public ConfigurationContextBuilder removePropertyFilters(Collection<PropertyFilter> filters)
removePropertyFilters
in interface ConfigurationContextBuilder
public ConfigurationContextBuilder removePropertyFilters(PropertyFilter... filters)
removePropertyFilters
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.