Package com.yahoo.messagebus
Class MessagebusConfig.Builder
- java.lang.Object
-
- com.yahoo.messagebus.MessagebusConfig.Builder
-
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder
,com.yahoo.config.ConfigInstance.Builder
- Enclosing class:
- MessagebusConfig
public static class MessagebusConfig.Builder extends java.lang.Object implements com.yahoo.config.ConfigInstance.Builder
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<MessagebusConfig.Routingtable.Builder>
routingtable
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(MessagebusConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessagebusConfig
build()
boolean
dispatchGetConfig(com.yahoo.config.ConfigInstance.Producer producer)
java.lang.String
getDefMd5()
java.lang.String
getDefName()
java.lang.String
getDefNamespace()
MessagebusConfig.Builder
routingtable(MessagebusConfig.Routingtable.Builder __builder)
Add the given builder to this builder's list of Routingtable buildersMessagebusConfig.Builder
routingtable(java.util.List<MessagebusConfig.Routingtable.Builder> __builders)
Set the given list as this builder's list of Routingtable builders
-
-
-
Field Detail
-
routingtable
public java.util.List<MessagebusConfig.Routingtable.Builder> routingtable
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(MessagebusConfig config)
-
-
Method Detail
-
routingtable
public MessagebusConfig.Builder routingtable(MessagebusConfig.Routingtable.Builder __builder)
Add the given builder to this builder's list of Routingtable builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
routingtable
public MessagebusConfig.Builder routingtable(java.util.List<MessagebusConfig.Routingtable.Builder> __builders)
Set the given list as this builder's list of Routingtable 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 MessagebusConfig build()
-
-