Package com.yahoo.container
Class QrSearchersConfig.Builder
java.lang.Object
com.yahoo.container.QrSearchersConfig.Builder
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder,com.yahoo.config.ConfigInstance.Builder
- Enclosing class:
- QrSearchersConfig
public static final class QrSearchersConfig.Builder
extends Object
implements com.yahoo.config.ConfigInstance.Builder
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()com(QrSearchersConfig.Com.Builder __builder) com(Consumer<QrSearchersConfig.Com.Builder> __func) Make a new builder and run the supplied function on it before adding it to the listMake a new builder and run the supplied function on it before adding it to the listfinal booleandispatchGetConfig(com.yahoo.config.ConfigInstance.Producer producer) external(QrSearchersConfig.External.Builder __builder) Add the given builder to this builder's list of External buildersMake a new builder and run the supplied function on it before adding it to the listexternal(List<QrSearchersConfig.External.Builder> __builders) Set the given list as this builder's list of External buildersfinal booleanfinal Stringfinal Stringfinal StringMake a new builder and run the supplied function on it before adding it to the listAdd the given builder to this builder's list of Searchcluster buildersMake a new builder and run the supplied function on it before adding it to the listsearchcluster(List<QrSearchersConfig.Searchcluster.Builder> __builders) Set the given list as this builder's list of Searchcluster buildersfinal voidsetApplyOnRestart(boolean applyOnRestart) tag(QrSearchersConfig.Tag.Builder __builder) tag(Consumer<QrSearchersConfig.Tag.Builder> __func) Make a new builder and run the supplied function on it before adding it to the list
-
Field Details
-
tag
-
com
-
customizedsearchers
-
external
-
searchcluster
-
parserSettings
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
tag
-
tag
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
com
-
com
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
customizedsearchers
public QrSearchersConfig.Builder customizedsearchers(QrSearchersConfig.Customizedsearchers.Builder __builder) -
customizedsearchers
public QrSearchersConfig.Builder customizedsearchers(Consumer<QrSearchersConfig.Customizedsearchers.Builder> __func) Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
external
Add the given builder to this builder's list of External builders- Parameters:
__builder- a builder- Returns:
- this builder
-
external
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
external
Set the given list as this builder's list of External builders- Parameters:
__builders- a list of builders- Returns:
- this builder
-
searchcluster
Add the given builder to this builder's list of Searchcluster builders- Parameters:
__builder- a builder- Returns:
- this builder
-
searchcluster
public QrSearchersConfig.Builder searchcluster(Consumer<QrSearchersConfig.Searchcluster.Builder> __func) Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
searchcluster
public QrSearchersConfig.Builder searchcluster(List<QrSearchersConfig.Searchcluster.Builder> __builders) Set the given list as this builder's list of Searchcluster builders- Parameters:
__builders- a list of builders- Returns:
- this builder
-
parserSettings
-
parserSettings
public QrSearchersConfig.Builder parserSettings(Consumer<QrSearchersConfig.ParserSettings.Builder> __func) Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
dispatchGetConfig
public final boolean dispatchGetConfig(com.yahoo.config.ConfigInstance.Producer producer) - Specified by:
dispatchGetConfigin interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefMd5
- Specified by:
getDefMd5in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefName
- Specified by:
getDefNamein interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefNamespace
- Specified by:
getDefNamespacein interfacecom.yahoo.config.ConfigInstance.Builder
-
getApplyOnRestart
public final boolean getApplyOnRestart()- Specified by:
getApplyOnRestartin interfacecom.yahoo.config.ConfigInstance.Builder
-
setApplyOnRestart
public final void setApplyOnRestart(boolean applyOnRestart) - Specified by:
setApplyOnRestartin interfacecom.yahoo.config.ConfigInstance.Builder
-
build
-