Modifier and Type | Method and Description |
---|---|
ElasticsearchClientImplementor |
ElasticsearchClientFactory.create(ConfigurationPropertySource propertySource,
GsonProvider initialGsonProvider) |
Modifier and Type | Method and Description |
---|---|
BackendImplementor<?> |
BackendFactory.create(String name,
BackendBuildContext context,
ConfigurationPropertySource propertySource) |
IndexManagerBuilder<D> |
BackendImplementor.createIndexManagerBuilder(String indexName,
boolean multiTenancyEnabled,
BackendBuildContext context,
ConfigurationPropertySource propertySource) |
Modifier and Type | Method and Description |
---|---|
static ConfigurationPropertySource |
ConfigurationPropertySource.empty() |
static ConfigurationPropertySource |
ConfigurationPropertySource.fromMap(Map<String,?> map) |
static ConfigurationPropertySource |
ConfigurationPropertySource.fromProperties(Properties properties)
Deprecated.
Where possible, use
fromMap(Map) instead, which supports non-string values. |
default ConfigurationPropertySource |
ConfigurationPropertySource.withFallback(ConfigurationPropertySource fallback)
Create a new configuration source which falls back to another source when a property is missing in this source.
|
default ConfigurationPropertySource |
ConfigurationPropertySource.withMask(String mask) |
default ConfigurationPropertySource |
ConfigurationPropertySource.withOverride(ConfigurationPropertySource override)
Create a new configuration source which overrides the properties defined in this source.
|
default ConfigurationPropertySource |
ConfigurationPropertySource.withPrefix(String prefix) |
Modifier and Type | Method and Description |
---|---|
default ConfigurationPropertySource |
ConfigurationPropertySource.withFallback(ConfigurationPropertySource fallback)
Create a new configuration source which falls back to another source when a property is missing in this source.
|
default ConfigurationPropertySource |
ConfigurationPropertySource.withOverride(ConfigurationPropertySource override)
Create a new configuration source which overrides the properties defined in this source.
|
Modifier and Type | Class and Description |
---|---|
class |
UnusedPropertyTrackingConfigurationPropertySource |
Modifier and Type | Method and Description |
---|---|
T |
ConfigurationProperty.get(ConfigurationPropertySource source)
Get the value of this configuration property.
|
<R> Optional<R> |
OptionalConfigurationProperty.getAndMap(ConfigurationPropertySource source,
Function<T,R> transform)
Get and transform the value of this configuration property.
|
<R> R |
OptionalConfigurationProperty.getAndMapOrThrow(ConfigurationPropertySource source,
Function<T,R> transform,
Function<String,RuntimeException> exceptionFunction)
Get and transform the value of this configuration property, throwing an exception if the value is not present.
|
<R> R |
ConfigurationProperty.getAndTransform(ConfigurationPropertySource source,
Function<T,R> transform)
Get and transform the value of this configuration property.
|
T |
OptionalConfigurationProperty.getOrThrow(ConfigurationPropertySource source,
Function<String,RuntimeException> exceptionFunction)
Get the value of this configuration property, throwing an exception if the value is not present.
|
Optional<String> |
ConfigurationProperty.resolve(ConfigurationPropertySource source)
Resolve the key for this configuration property
as registered in the underlying configuration source,
if possible.
|
String |
ConfigurationProperty.resolveOrRaw(ConfigurationPropertySource source)
Resolve the key for this configuration property
as registered in the underlying configuration source,
or, if not possible, just return the "raw" key passed to
ConfigurationProperty.forKey(String) . |
Constructor and Description |
---|
UnusedPropertyTrackingConfigurationPropertySource(ConfigurationPropertySource delegate,
Set<String> availablePropertyKeys) |
Modifier and Type | Method and Description |
---|---|
static SearchIntegrationBuilder |
SearchIntegration.builder(ConfigurationPropertySource propertySource) |
Modifier and Type | Method and Description |
---|---|
void |
MappingInitiator.configure(MappingBuildContext buildContext,
ConfigurationPropertySource propertySource,
MappingConfigurationCollector<C> configurationCollector) |
Mapper<M> |
MappingInitiator.createMapper(MappingBuildContext buildContext,
ConfigurationPropertySource propertySource,
TypeMetadataContributorProvider<C> contributorProvider) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractPojoMappingInitiator.configure(MappingBuildContext buildContext,
ConfigurationPropertySource propertySource,
MappingConfigurationCollector<PojoTypeMetadataContributor> configurationCollector) |
void |
PojoMappingConfigurationContributor.configure(MappingBuildContext buildContext,
ConfigurationPropertySource propertySource,
MappingConfigurationCollector<PojoTypeMetadataContributor> configurationCollector) |
Mapper<M> |
AbstractPojoMappingInitiator.createMapper(MappingBuildContext buildContext,
ConfigurationPropertySource propertySource,
TypeMetadataContributorProvider<PojoTypeMetadataContributor> contributorProvider) |
MappingImplementor<M> |
PojoMappingFactory.createMapping(ConfigurationPropertySource propertySource,
PojoMappingDelegate mappingDelegate) |
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.