Package com.yahoo.config
Interface ConfigInstance.Builder
-
- All Superinterfaces:
ConfigBuilder
- Enclosing class:
- ConfigInstance
public static interface ConfigInstance.Builder extends ConfigBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description boolean
dispatchGetConfig(ConfigInstance.Producer producer)
Dispatches a getConfig() call if this instance's producer is of the right typedefault boolean
getApplyOnRestart()
Returns true if this instance should be applied on restart, false if it should be applied immediatelyjava.lang.String
getDefMd5()
java.lang.String
getDefName()
java.lang.String
getDefNamespace()
default void
setApplyOnRestart(boolean applyOnRestart)
-
-
-
Method Detail
-
dispatchGetConfig
boolean dispatchGetConfig(ConfigInstance.Producer producer)
Dispatches a getConfig() call if this instance's producer is of the right type- Parameters:
producer
- a config producer- Returns:
- true if this instance's producer was the correct type, and hence a getConfig call was dispatched
-
getDefName
java.lang.String getDefName()
-
getDefNamespace
java.lang.String getDefNamespace()
-
getDefMd5
java.lang.String getDefMd5()
-
getApplyOnRestart
default boolean getApplyOnRestart()
Returns true if this instance should be applied on restart, false if it should be applied immediately
-
setApplyOnRestart
default void setApplyOnRestart(boolean applyOnRestart)
-
-