public interface SearchIntegrationPartialBuildState
| Modifier and Type | Method and Description |
|---|---|
void |
closeOnFailure()
Close the resources held by this object (backends, index managers, ...).
|
SearchIntegration |
finalizeIntegration(ConfigurationPropertySource configurationPropertySource)
Finalize the building of the integration.
|
<PBM,M> M |
finalizeMapping(MappingKey<PBM,M> mappingKey,
Function<PBM,MappingImplementor<M>> director)
Finalize the building of a mapping.
|
void closeOnFailure()
To be called in the event of a failure that will prevent finalizeIntegration(ConfigurationPropertySource) to be called.
<PBM,M> M finalizeMapping(MappingKey<PBM,M> mappingKey, Function<PBM,MappingImplementor<M>> director)
PBM - The type of the partially-built mapping.M - The type of the fully-built mapping.mappingKey - The mapping key allowing to retrieve the pre-built mapping.director - The object responsible for turning a pre-built mapping into a fully-built mapping (it may hold some additional context).SearchIntegration finalizeIntegration(ConfigurationPropertySource configurationPropertySource)
configurationPropertySource - The configuration property source,
which may hold additional configuration compared to the one passed to
SearchIntegration.builder(ConfigurationPropertySource).Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.