@NotThreadSafe public static final class Configuration.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
void |
addClusterProperty(String name,
Object value,
Source source)
Adds a cluster level property.
|
void |
addPathProperty(String path,
String name,
String value)
Adds a path level property.
|
Configuration |
build() |
void |
setClusterConfHash(String hash)
Sets hash of path configurations.
|
void |
setPathConfHash(String hash)
Sets hash of path configurations.
|
public void addClusterProperty(String name, @Nullable Object value, Source source)
name
- property namevalue
- property valuesource
- property sourcepublic void addPathProperty(String path, String name, String value)
path
- the pathname
- property namevalue
- property valuepublic void setClusterConfHash(String hash)
hash
- the hashpublic void setPathConfHash(String hash)
hash
- the hashpublic Configuration build()
Copyright © 2023. All Rights Reserved.