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 class ChainsConfig.Builder extends java.lang.Object implements com.yahoo.config.ConfigInstance.Builder
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<ChainsConfig.Chains.Builder>
chains
java.util.List<ChainsConfig.Components.Builder>
components
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ChainsConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChainsConfig
build()
ChainsConfig.Builder
chains(ChainsConfig.Chains.Builder __builder)
Add the given builder to this builder's list of Chains buildersChainsConfig.Builder
chains(java.util.List<ChainsConfig.Chains.Builder> __builders)
Set the given list as this builder's list of Chains buildersChainsConfig.Builder
components(ChainsConfig.Components.Builder __builder)
Add the given builder to this builder's list of Components buildersChainsConfig.Builder
components(java.util.List<ChainsConfig.Components.Builder> __builders)
Set the given list as this builder's list of Components buildersboolean
dispatchGetConfig(com.yahoo.config.ConfigInstance.Producer producer)
java.lang.String
getDefMd5()
java.lang.String
getDefName()
java.lang.String
getDefNamespace()
-
-
-
Field Detail
-
components
public java.util.List<ChainsConfig.Components.Builder> components
-
chains
public java.util.List<ChainsConfig.Chains.Builder> chains
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ChainsConfig config)
-
-
Method Detail
-
components
public ChainsConfig.Builder components(ChainsConfig.Components.Builder __builder)
Add the given builder to this builder's list of Components builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
components
public ChainsConfig.Builder components(java.util.List<ChainsConfig.Components.Builder> __builders)
Set the given list as this builder's list of Components builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
chains
public ChainsConfig.Builder chains(ChainsConfig.Chains.Builder __builder)
Add the given builder to this builder's list of Chains builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
chains
public ChainsConfig.Builder chains(java.util.List<ChainsConfig.Chains.Builder> __builders)
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:
dispatchGetConfig
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefMd5
public final java.lang.String getDefMd5()
- Specified by:
getDefMd5
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefName
public final java.lang.String getDefName()
- Specified by:
getDefName
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefNamespace
public final java.lang.String getDefNamespace()
- Specified by:
getDefNamespace
in interfacecom.yahoo.config.ConfigInstance.Builder
-
build
public ChainsConfig build()
-
-