Package de.vinado.boot.secrets
Class CompositePropertyIndexSupplier.Builder
java.lang.Object
de.vinado.boot.secrets.CompositePropertyIndexSupplier.Builder
- Enclosing class:
- CompositePropertyIndexSupplier
Convenience component making use of the Builder Pattern to instantiate a new
CompositePropertyIndexSupplier
.- Author:
- Vincent Nadoll
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd
(PropertyIndexSupplier supplier) addAll
(Collection<PropertyIndexSupplier> suppliers) build()
Creates a new instance ofCompositePropertyIndexSupplier
leaving property values as is.buildAndSubstitute
(PropertyResolver resolver) Creates a new instance ofCompositePropertyIndexSupplier
substituting property values if necessary.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
add
-
add
-
addAll
-
build
Creates a new instance ofCompositePropertyIndexSupplier
leaving property values as is.- Returns:
- a new instance of
CompositePropertyIndexSupplier
-
buildAndSubstitute
Creates a new instance ofCompositePropertyIndexSupplier
substituting property values if necessary. Note that the substitution only takes place whenCompositePropertyIndexSupplier.get()
is called.- Parameters:
resolver
- must not be null- Returns:
- a new instance of
CompositePropertyIndexSupplier
-