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