Package com.yahoo.container
Class ComponentsConfig.Components.Builder
java.lang.Object
com.yahoo.container.ComponentsConfig.Components.Builder
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder
- Enclosing class:
- ComponentsConfig.Components
public static class ComponentsConfig.Components.Builder
extends Object
implements com.yahoo.config.ConfigBuilder
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
inject
(ComponentsConfig.Components.Inject.Builder __builder) Add the given builder to this builder's list of Inject buildersMake a new builder and run the supplied function on it before adding it to the listinject
(List<ComponentsConfig.Components.Inject.Builder> __builders) Set the given list as this builder's list of Inject builders
-
Field Details
-
inject
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
id
-
configId
-
classId
-
bundle
-
inject
public ComponentsConfig.Components.Builder inject(ComponentsConfig.Components.Inject.Builder __builder) Add the given builder to this builder's list of Inject builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
inject
public ComponentsConfig.Components.Builder inject(Consumer<ComponentsConfig.Components.Inject.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
-
inject
public ComponentsConfig.Components.Builder inject(List<ComponentsConfig.Components.Inject.Builder> __builders) Set the given list as this builder's list of Inject builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
build
-