Package com.yahoo.container.core
Class ChainsConfig.Builder
java.lang.Object
com.yahoo.container.core.ChainsConfig.Builder
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder,com.yahoo.config.ConfigInstance.Builder
- Enclosing class:
- ChainsConfig
public static final class ChainsConfig.Builder
extends Object
implements com.yahoo.config.ConfigInstance.Builder
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()chains(ChainsConfig.Chains.Builder __builder) Add the given builder to this builder's list of Chains builderschains(Consumer<ChainsConfig.Chains.Builder> __func) Make a new builder and run the supplied function on it before adding it to the listchains(List<ChainsConfig.Chains.Builder> __builders) Set the given list as this builder's list of Chains builderscomponents(ChainsConfig.Components.Builder __builder) Add the given builder to this builder's list of Components buildersMake a new builder and run the supplied function on it before adding it to the listcomponents(List<ChainsConfig.Components.Builder> __builders) Set the given list as this builder's list of Components buildersfinal booleandispatchGetConfig(com.yahoo.config.ConfigInstance.Producer producer) final booleanfinal Stringfinal Stringfinal Stringfinal voidsetApplyOnRestart(boolean applyOnRestart)
-
Field Details
-
components
-
chains
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
components
Add the given builder to this builder's list of Components builders- Parameters:
__builder- a builder- Returns:
- this builder
-
components
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
-
components
Set the given list as this builder's list of Components builders- Parameters:
__builders- a list of builders- Returns:
- this builder
-
chains
Add the given builder to this builder's list of Chains builders- Parameters:
__builder- a builder- Returns:
- this builder
-
chains
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
-
chains
Set the given list as this builder's list of Chains 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
-