| Package | Description |
|---|---|
| org.apache.tamaya | |
| org.apache.tamaya.spi |
| Modifier and Type | Method and Description |
|---|---|
static ConfigurationContextBuilder |
ConfigurationProvider.getConfigurationContextBuilder()
Create a new
ConfigurationContextBuilder instance. |
| Modifier and Type | Method and Description |
|---|---|
ConfigurationContextBuilder |
ConfigurationContextBuilder.addDefaultPropertyConverters()
Add all registered (default) property converters to the context built.
|
ConfigurationContextBuilder |
ConfigurationContextBuilder.addDefaultPropertyFilters()
Add all registered (default) property filters to the context built.
|
ConfigurationContextBuilder |
ConfigurationContextBuilder.addDefaultPropertySources()
Add all registered (default) property sources to the context built.
|
<T> ConfigurationContextBuilder |
ConfigurationContextBuilder.addPropertyConverters(TypeLiteral<T> typeToConvert,
Collection<PropertyConverter<T>> propertyConverters)
This method can be used for adding
PropertyConverters. |
<T> ConfigurationContextBuilder |
ConfigurationContextBuilder.addPropertyConverters(TypeLiteral<T> typeToConvert,
PropertyConverter<T>... propertyConverters)
This method can be used for adding
PropertyConverters. |
ConfigurationContextBuilder |
ConfigurationContextBuilder.addPropertyFilters(Collection<PropertyFilter> filters)
Adds the given PropertyFilter instances, hereby the instances are added
to the end of the list with highest priority.
|
ConfigurationContextBuilder |
ConfigurationContextBuilder.addPropertyFilters(PropertyFilter... filters)
Adds the given PropertyFilter instances, hereby the instances are added
to the end of the list with highest priority.
|
ConfigurationContextBuilder |
ConfigurationContextBuilder.addPropertySources(Collection<PropertySource> propertySources)
This method can be used for programmatically adding
PropertySources. |
ConfigurationContextBuilder |
ConfigurationContextBuilder.addPropertySources(PropertySource... propertySources)
This method can be used for adding
PropertySources. |
ConfigurationContextBuilder |
ConfigurationContextBuilder.decreasePriority(PropertySource propertySource)
Decreases the priority of the given property source, by moving it towards the start
of the chain of property sources.
|
ConfigurationContextBuilder |
ConfigurationProviderSpi.getConfigurationContextBuilder()
Creates a new
ConfigurationContextBuilder instance. |
ConfigurationContextBuilder |
ConfigurationContextBuilder.highestPriority(PropertySource propertySource)
Increases the priority of the given property source to be maximal, by moving it to
the tail of the of property source chain.
|
ConfigurationContextBuilder |
ConfigurationContextBuilder.increasePriority(PropertySource propertySource)
Increases the priority of the given property source, by moving it towards the end
of the chain of property sources.
|
ConfigurationContextBuilder |
ConfigurationContextBuilder.lowestPriority(PropertySource propertySource)
Decreases the priority of the given property source to be minimal, by moving it to
the start of the chain of property source chain.
|
ConfigurationContextBuilder |
ConfigurationContextBuilder.removePropertyConverters(TypeLiteral<?> typeToConvert)
Removes all converters for the given type, which actually renders a given type
unsupported for type conversion.
|
<T> ConfigurationContextBuilder |
ConfigurationContextBuilder.removePropertyConverters(TypeLiteral<T> typeToConvert,
Collection<PropertyConverter<T>> propertyConverters)
Removes the given PropertyConverter instances for the given type,
if existing.
|
<T> ConfigurationContextBuilder |
ConfigurationContextBuilder.removePropertyConverters(TypeLiteral<T> typeToConvert,
PropertyConverter<T>... propertyConverters)
Removes the given PropertyConverter instances for the given type,
if existing.
|
ConfigurationContextBuilder |
ConfigurationContextBuilder.removePropertyFilters(Collection<PropertyFilter> filters)
Removes the given PropertyFilter instances, if existing.
|
ConfigurationContextBuilder |
ConfigurationContextBuilder.removePropertyFilters(PropertyFilter... filters)
Removes the given PropertyFilter instances, if existing.
|
ConfigurationContextBuilder |
ConfigurationContextBuilder.removePropertySources(Collection<PropertySource> propertySources)
Removes the given property sources, if existing.
|
ConfigurationContextBuilder |
ConfigurationContextBuilder.removePropertySources(PropertySource... propertySources)
Removes the given property sources, if existing.
|
ConfigurationContextBuilder |
ConfigurationContextBuilder.setContext(ConfigurationContext context)
Init this builder instance with the given
ConfigurationContext instance. |
ConfigurationContextBuilder |
ConfigurationContextBuilder.setPropertyValueCombinationPolicy(PropertyValueCombinationPolicy policy)
Sets the
PropertyValueCombinationPolicy used to evaluate the final
property values. |
ConfigurationContextBuilder |
ConfigurationContextBuilder.sortPropertyFilter(Comparator<PropertyFilter> comparator)
Sorts the current registered property filters using the given comparator.
|
ConfigurationContextBuilder |
ConfigurationContextBuilder.sortPropertySources(Comparator<PropertySource> comparator)
Sorts the current registered property sources using the given comparator.
|
ConfigurationContextBuilder |
ConfigurationContext.toBuilder()
Creates a
ConfigurationContextBuilder preinitialized with the data from this instance. |
Copyright © 2014–2017 Apache Software Foundation. All rights reserved.