Package com.yahoo.document.config
Class DocumenttypesConfig.Builder
java.lang.Object
com.yahoo.document.config.DocumenttypesConfig.Builder
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder,com.yahoo.config.ConfigInstance.Builder
- Enclosing class:
- DocumenttypesConfig
public static final class DocumenttypesConfig.Builder
extends Object
implements com.yahoo.config.ConfigInstance.Builder
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()final booleandispatchGetConfig(com.yahoo.config.ConfigInstance.Producer producer) doctype(DocumenttypesConfig.Doctype.Builder __builder) Add the given builder to this builder's list of Doctype buildersMake a new builder and run the supplied function on it before adding it to the listdoctype(List<DocumenttypesConfig.Doctype.Builder> __builders) Set the given list as this builder's list of Doctype buildersAdd the given builder to this builder's list of Documenttype buildersMake a new builder and run the supplied function on it before adding it to the listdocumenttype(List<DocumenttypesConfig.Documenttype.Builder> __builders) Set the given list as this builder's list of Documenttype buildersfinal booleanfinal Stringfinal Stringfinal Stringignoreundefinedfields(boolean __value) final voidsetApplyOnRestart(boolean applyOnRestart) usev8geopositions(boolean __value)
-
Field Details
-
documenttype
-
doctype
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
ignoreundefinedfields
-
usev8geopositions
-
documenttype
Add the given builder to this builder's list of Documenttype builders- Parameters:
__builder- a builder- Returns:
- this builder
-
documenttype
public DocumenttypesConfig.Builder documenttype(Consumer<DocumenttypesConfig.Documenttype.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
-
documenttype
public DocumenttypesConfig.Builder documenttype(List<DocumenttypesConfig.Documenttype.Builder> __builders) Set the given list as this builder's list of Documenttype builders- Parameters:
__builders- a list of builders- Returns:
- this builder
-
doctype
Add the given builder to this builder's list of Doctype builders- Parameters:
__builder- a builder- Returns:
- this builder
-
doctype
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
-
doctype
Set the given list as this builder's list of Doctype builders- Parameters:
__builders- a list of builders- 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
-