public class DefaultConfigurationContextBuilder extends Object implements org.apache.tamaya.spi.ConfigurationContextBuilder
ConfigurationContextBuilder.| Constructor and Description |
|---|
DefaultConfigurationContextBuilder()
Creates a new builder instance.
|
DefaultConfigurationContextBuilder(org.apache.tamaya.spi.ConfigurationContext context)
Creates a new builder instance.
|
| Modifier and Type | Method and Description |
|---|---|
DefaultConfigurationContextBuilder |
addDefaultPropertyConverters() |
DefaultConfigurationContextBuilder |
addDefaultPropertyFilters() |
DefaultConfigurationContextBuilder |
addDefaultPropertySources() |
<T> org.apache.tamaya.spi.ConfigurationContextBuilder |
addPropertyConverters(org.apache.tamaya.TypeLiteral<T> type,
Collection<org.apache.tamaya.spi.PropertyConverter<T>> propertyConverters) |
<T> org.apache.tamaya.spi.ConfigurationContextBuilder |
addPropertyConverters(org.apache.tamaya.TypeLiteral<T> type,
org.apache.tamaya.spi.PropertyConverter<T>... propertyConverters) |
org.apache.tamaya.spi.ConfigurationContextBuilder |
addPropertyFilters(Collection<org.apache.tamaya.spi.PropertyFilter> filters) |
org.apache.tamaya.spi.ConfigurationContextBuilder |
addPropertyFilters(org.apache.tamaya.spi.PropertyFilter... filters) |
org.apache.tamaya.spi.ConfigurationContextBuilder |
addPropertySources(Collection<org.apache.tamaya.spi.PropertySource> sources) |
org.apache.tamaya.spi.ConfigurationContextBuilder |
addPropertySources(org.apache.tamaya.spi.PropertySource... sources) |
org.apache.tamaya.spi.ConfigurationContext |
build()
Builds a new configuration based on the configuration of this builder instance.
|
org.apache.tamaya.spi.ConfigurationContextBuilder |
decreasePriority(org.apache.tamaya.spi.PropertySource propertySource) |
Map<org.apache.tamaya.TypeLiteral<?>,Collection<org.apache.tamaya.spi.PropertyConverter<?>>> |
getPropertyConverter() |
List<org.apache.tamaya.spi.PropertyFilter> |
getPropertyFilters() |
List<org.apache.tamaya.spi.PropertySource> |
getPropertySources() |
org.apache.tamaya.spi.ConfigurationContextBuilder |
highestPriority(org.apache.tamaya.spi.PropertySource propertySource) |
org.apache.tamaya.spi.ConfigurationContextBuilder |
increasePriority(org.apache.tamaya.spi.PropertySource propertySource) |
protected org.apache.tamaya.spi.ConfigurationContextBuilder |
loadDefaults() |
org.apache.tamaya.spi.ConfigurationContextBuilder |
lowestPriority(org.apache.tamaya.spi.PropertySource propertySource) |
org.apache.tamaya.spi.ConfigurationContextBuilder |
removePropertyConverters(org.apache.tamaya.TypeLiteral<?> typeToConvert) |
<T> org.apache.tamaya.spi.ConfigurationContextBuilder |
removePropertyConverters(org.apache.tamaya.TypeLiteral<T> typeToConvert,
Collection<org.apache.tamaya.spi.PropertyConverter<T>> converters) |
<T> org.apache.tamaya.spi.ConfigurationContextBuilder |
removePropertyConverters(org.apache.tamaya.TypeLiteral<T> typeToConvert,
org.apache.tamaya.spi.PropertyConverter<T>... converters) |
org.apache.tamaya.spi.ConfigurationContextBuilder |
removePropertyFilters(Collection<org.apache.tamaya.spi.PropertyFilter> filters) |
org.apache.tamaya.spi.ConfigurationContextBuilder |
removePropertyFilters(org.apache.tamaya.spi.PropertyFilter... filters) |
org.apache.tamaya.spi.ConfigurationContextBuilder |
removePropertySources(Collection<org.apache.tamaya.spi.PropertySource> propertySources) |
org.apache.tamaya.spi.ConfigurationContextBuilder |
removePropertySources(org.apache.tamaya.spi.PropertySource... propertySources) |
org.apache.tamaya.spi.ConfigurationContextBuilder |
setContext(org.apache.tamaya.spi.ConfigurationContext context) |
org.apache.tamaya.spi.ConfigurationContextBuilder |
setPropertyValueCombinationPolicy(org.apache.tamaya.spi.PropertyValueCombinationPolicy combinationPolicy) |
org.apache.tamaya.spi.ConfigurationContextBuilder |
sortPropertyFilter(Comparator<org.apache.tamaya.spi.PropertyFilter> comparator) |
org.apache.tamaya.spi.ConfigurationContextBuilder |
sortPropertySources(Comparator<org.apache.tamaya.spi.PropertySource> comparator) |
public DefaultConfigurationContextBuilder()
public DefaultConfigurationContextBuilder(org.apache.tamaya.spi.ConfigurationContext context)
public org.apache.tamaya.spi.ConfigurationContextBuilder setContext(org.apache.tamaya.spi.ConfigurationContext context)
setContext in interface org.apache.tamaya.spi.ConfigurationContextBuilderpublic org.apache.tamaya.spi.ConfigurationContextBuilder addPropertySources(org.apache.tamaya.spi.PropertySource... sources)
addPropertySources in interface org.apache.tamaya.spi.ConfigurationContextBuilderpublic org.apache.tamaya.spi.ConfigurationContextBuilder addPropertySources(Collection<org.apache.tamaya.spi.PropertySource> sources)
addPropertySources in interface org.apache.tamaya.spi.ConfigurationContextBuilderpublic DefaultConfigurationContextBuilder addDefaultPropertyFilters()
addDefaultPropertyFilters in interface org.apache.tamaya.spi.ConfigurationContextBuilderpublic DefaultConfigurationContextBuilder addDefaultPropertySources()
addDefaultPropertySources in interface org.apache.tamaya.spi.ConfigurationContextBuilderpublic DefaultConfigurationContextBuilder addDefaultPropertyConverters()
addDefaultPropertyConverters in interface org.apache.tamaya.spi.ConfigurationContextBuilderpublic org.apache.tamaya.spi.ConfigurationContextBuilder removePropertySources(org.apache.tamaya.spi.PropertySource... propertySources)
removePropertySources in interface org.apache.tamaya.spi.ConfigurationContextBuilderpublic org.apache.tamaya.spi.ConfigurationContextBuilder removePropertySources(Collection<org.apache.tamaya.spi.PropertySource> propertySources)
removePropertySources in interface org.apache.tamaya.spi.ConfigurationContextBuilderpublic List<org.apache.tamaya.spi.PropertySource> getPropertySources()
getPropertySources in interface org.apache.tamaya.spi.ConfigurationContextBuilderpublic org.apache.tamaya.spi.ConfigurationContextBuilder increasePriority(org.apache.tamaya.spi.PropertySource propertySource)
increasePriority in interface org.apache.tamaya.spi.ConfigurationContextBuilderpublic org.apache.tamaya.spi.ConfigurationContextBuilder decreasePriority(org.apache.tamaya.spi.PropertySource propertySource)
decreasePriority in interface org.apache.tamaya.spi.ConfigurationContextBuilderpublic org.apache.tamaya.spi.ConfigurationContextBuilder highestPriority(org.apache.tamaya.spi.PropertySource propertySource)
highestPriority in interface org.apache.tamaya.spi.ConfigurationContextBuilderpublic org.apache.tamaya.spi.ConfigurationContextBuilder lowestPriority(org.apache.tamaya.spi.PropertySource propertySource)
lowestPriority in interface org.apache.tamaya.spi.ConfigurationContextBuilderpublic org.apache.tamaya.spi.ConfigurationContextBuilder addPropertyFilters(org.apache.tamaya.spi.PropertyFilter... filters)
addPropertyFilters in interface org.apache.tamaya.spi.ConfigurationContextBuilderpublic org.apache.tamaya.spi.ConfigurationContextBuilder addPropertyFilters(Collection<org.apache.tamaya.spi.PropertyFilter> filters)
addPropertyFilters in interface org.apache.tamaya.spi.ConfigurationContextBuilderpublic org.apache.tamaya.spi.ConfigurationContextBuilder removePropertyFilters(org.apache.tamaya.spi.PropertyFilter... filters)
removePropertyFilters in interface org.apache.tamaya.spi.ConfigurationContextBuilderpublic org.apache.tamaya.spi.ConfigurationContextBuilder removePropertyFilters(Collection<org.apache.tamaya.spi.PropertyFilter> filters)
removePropertyFilters in interface org.apache.tamaya.spi.ConfigurationContextBuilderpublic <T> org.apache.tamaya.spi.ConfigurationContextBuilder removePropertyConverters(org.apache.tamaya.TypeLiteral<T> typeToConvert,
org.apache.tamaya.spi.PropertyConverter<T>... converters)
removePropertyConverters in interface org.apache.tamaya.spi.ConfigurationContextBuilderpublic <T> org.apache.tamaya.spi.ConfigurationContextBuilder removePropertyConverters(org.apache.tamaya.TypeLiteral<T> typeToConvert,
Collection<org.apache.tamaya.spi.PropertyConverter<T>> converters)
removePropertyConverters in interface org.apache.tamaya.spi.ConfigurationContextBuilderpublic org.apache.tamaya.spi.ConfigurationContextBuilder removePropertyConverters(org.apache.tamaya.TypeLiteral<?> typeToConvert)
removePropertyConverters in interface org.apache.tamaya.spi.ConfigurationContextBuilderpublic org.apache.tamaya.spi.ConfigurationContextBuilder setPropertyValueCombinationPolicy(org.apache.tamaya.spi.PropertyValueCombinationPolicy combinationPolicy)
setPropertyValueCombinationPolicy in interface org.apache.tamaya.spi.ConfigurationContextBuilderpublic <T> org.apache.tamaya.spi.ConfigurationContextBuilder addPropertyConverters(org.apache.tamaya.TypeLiteral<T> type,
org.apache.tamaya.spi.PropertyConverter<T>... propertyConverters)
addPropertyConverters in interface org.apache.tamaya.spi.ConfigurationContextBuilderpublic <T> org.apache.tamaya.spi.ConfigurationContextBuilder addPropertyConverters(org.apache.tamaya.TypeLiteral<T> type,
Collection<org.apache.tamaya.spi.PropertyConverter<T>> propertyConverters)
addPropertyConverters in interface org.apache.tamaya.spi.ConfigurationContextBuilderprotected org.apache.tamaya.spi.ConfigurationContextBuilder loadDefaults()
public org.apache.tamaya.spi.ConfigurationContext build()
build in interface org.apache.tamaya.spi.ConfigurationContextBuilderconfiguration instance,
never null.public org.apache.tamaya.spi.ConfigurationContextBuilder sortPropertyFilter(Comparator<org.apache.tamaya.spi.PropertyFilter> comparator)
sortPropertyFilter in interface org.apache.tamaya.spi.ConfigurationContextBuilderpublic org.apache.tamaya.spi.ConfigurationContextBuilder sortPropertySources(Comparator<org.apache.tamaya.spi.PropertySource> comparator)
sortPropertySources in interface org.apache.tamaya.spi.ConfigurationContextBuilderpublic List<org.apache.tamaya.spi.PropertyFilter> getPropertyFilters()
getPropertyFilters in interface org.apache.tamaya.spi.ConfigurationContextBuilderpublic Map<org.apache.tamaya.TypeLiteral<?>,Collection<org.apache.tamaya.spi.PropertyConverter<?>>> getPropertyConverter()
getPropertyConverter in interface org.apache.tamaya.spi.ConfigurationContextBuilderCopyright © 2016–2017 Apache Software Foundation. All rights reserved.