Package com.yahoo.cloud.config.log
Class LogdConfig.Builder
java.lang.Object
com.yahoo.cloud.config.log.LogdConfig.Builder
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder,com.yahoo.config.ConfigInstance.Builder
- Enclosing class:
- LogdConfig
public static class LogdConfig.Builder
extends Object
implements com.yahoo.config.ConfigInstance.Builder
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()final booleandispatchGetConfig(com.yahoo.config.ConfigInstance.Producer producer) final booleanfinal Stringfinal Stringfinal Stringloglevel(LogdConfig.Loglevel.Builder __builder) loglevel(Consumer<LogdConfig.Loglevel.Builder> __func) Make a new builder and run the supplied function on it before adding it to the listlogserver(LogdConfig.Logserver.Builder __builder) Make a new builder and run the supplied function on it before adding it to the listremove(LogdConfig.Remove.Builder __builder) remove(Consumer<LogdConfig.Remove.Builder> __func) Make a new builder and run the supplied function on it before adding it to the listrotate(LogdConfig.Rotate.Builder __builder) rotate(Consumer<LogdConfig.Rotate.Builder> __func) Make a new builder and run the supplied function on it before adding it to the listfinal voidsetApplyOnRestart(boolean applyOnRestart) stateport(int __value)
-
Field Details
-
logserver
-
loglevel
-
rotate
-
remove
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
stateport
-
logserver
-
logserver
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
-
loglevel
-
loglevel
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
-
rotate
-
rotate
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
-
remove
-
remove
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
-
dispatchGetConfig
public final boolean dispatchGetConfig(com.yahoo.config.ConfigInstance.Producer producer) - Specified by:
dispatchGetConfigin interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefMd5
- Specified by:
getDefMd5in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefName
- Specified by:
getDefNamein interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefNamespace
- Specified by:
getDefNamespacein interfacecom.yahoo.config.ConfigInstance.Builder
-
getApplyOnRestart
public final boolean getApplyOnRestart()- Specified by:
getApplyOnRestartin interfacecom.yahoo.config.ConfigInstance.Builder
-
setApplyOnRestart
public final void setApplyOnRestart(boolean applyOnRestart) - Specified by:
setApplyOnRestartin interfacecom.yahoo.config.ConfigInstance.Builder
-
build
-