Class ConfigKeyGroup
java.lang.Object
org.apache.bookkeeper.common.conf.ConfigKeyGroup
Define a group of configuration settings.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ConfigKeyGroupThe default key group.static final Comparator<ConfigKeyGroup>Ordering the key groups in a configuration. -
Constructor Summary
ConstructorsConstructorDescriptionConfigKeyGroup(String name, String description, List<String> children, int order) Creates a newConfigKeyGroupinstance. -
Method Summary
Modifier and TypeMethodDescriptionCreate a config key group of name.children()The list of sub key-groups of this key group.The list of sub key-groups of this key group.Description of the key group.description(String description) Description of the key group.booleaninthashCode()name()Name of the key group.Name of the key group.intorder()The order of the key-group in a configuration.order(int order) The order of the key-group in a configuration.toString()
-
Field Details
-
ORDERING
Ordering the key groups in a configuration. -
DEFAULT
The default key group.
-
-
Constructor Details
-
ConfigKeyGroup
Creates a newConfigKeyGroupinstance.- Parameters:
name- Name of the key group.description- Description of the key group.children- The list of sub key-groups of this key group.order- The order of the key-group in a configuration.
-
-
Method Details
-
builder
Create a config key group of name.- Parameters:
name- key group name- Returns:
- key group builder
-
equals
-
hashCode
public int hashCode() -
internalBuilder
-
name
Name of the key group. -
description
Description of the key group. -
children
The list of sub key-groups of this key group. -
order
public int order()The order of the key-group in a configuration. -
name
Name of the key group.- Returns:
this.
-
description
Description of the key group.- Returns:
this.
-
children
The list of sub key-groups of this key group.- Returns:
this.
-
order
The order of the key-group in a configuration.- Returns:
this.
-
toString
-