public class Config extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Config.ConfigEntry
The values for a given configuration key, including the current value
val , the default value defVal , and the
description desc . |
Constructor and Description |
---|
Config(String component,
Map<String,Config.ConfigEntry> entries)
Construct a new immutable Config object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getComponent()
Get the component name of this Config.
|
Map<String,Config.ConfigEntry> |
getEntries()
Get a mapping of key to values of all the configuration entries.
|
int |
hashCode() |
String |
toString() |
public Config(String component, Map<String,Config.ConfigEntry> entries)
component
- the component nameentries
- a map of all key/entry pairspublic String getComponent()
public Map<String,Config.ConfigEntry> getEntries()
Copyright © 2015. All Rights Reserved.