Package com.yahoo.container
Class ComponentsConfig.Builder
- java.lang.Object
-
- com.yahoo.container.ComponentsConfig.Builder
-
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder
,com.yahoo.config.ConfigInstance.Builder
- Enclosing class:
- ComponentsConfig
public static class ComponentsConfig.Builder extends java.lang.Object implements com.yahoo.config.ConfigInstance.Builder
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<ComponentsConfig.Components.Builder>
components
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ComponentsConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComponentsConfig
build()
ComponentsConfig.Builder
components(ComponentsConfig.Components.Builder __builder)
Add the given builder to this builder's list of Components buildersComponentsConfig.Builder
components(java.util.List<ComponentsConfig.Components.Builder> __builders)
Set the given list as this builder's list of Components buildersboolean
dispatchGetConfig(com.yahoo.config.ConfigInstance.Producer producer)
boolean
getApplyOnRestart()
java.lang.String
getDefMd5()
java.lang.String
getDefName()
java.lang.String
getDefNamespace()
void
setApplyOnRestart(boolean applyOnRestart)
-
-
-
Field Detail
-
components
public java.util.List<ComponentsConfig.Components.Builder> components
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ComponentsConfig config)
-
-
Method Detail
-
components
public ComponentsConfig.Builder components(ComponentsConfig.Components.Builder __builder)
Add the given builder to this builder's list of Components builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
components
public ComponentsConfig.Builder components(java.util.List<ComponentsConfig.Components.Builder> __builders)
Set the given list as this builder's list of Components 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
-
getApplyOnRestart
public final boolean getApplyOnRestart()
- Specified by:
getApplyOnRestart
in interfacecom.yahoo.config.ConfigInstance.Builder
-
setApplyOnRestart
public final void setApplyOnRestart(boolean applyOnRestart)
- Specified by:
setApplyOnRestart
in interfacecom.yahoo.config.ConfigInstance.Builder
-
build
public ComponentsConfig build()
-
-