public class ConfigList
extends java.lang.Object
Constructor and Description |
---|
ConfigList(java.util.Map props) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
containsItem(java.lang.String item) |
boolean |
containsKey(java.lang.String key) |
protected void |
finalize() |
java.lang.String |
getItem(int i)
returns the i-th item
|
java.lang.String |
getKey(int i)
returns the name of the i-th config
|
java.lang.String |
getKey(java.lang.String item)
returns the key for the item
|
java.lang.String |
getName() |
java.util.Map<java.lang.String,java.lang.Object> |
getProps(java.lang.String item)
returns the property map for a given item
|
int |
getSize()
returns the total number of items
|
java.util.Map |
loadList()
It downloads the config property map from the given data source and
returns the change hashmap or null if it is skipped or it has no change.
|
void |
resetReporter(java.util.Map props)
initializes or reloads the reporter
|
void |
resetTemplate(java.lang.String key)
initializes or reloads the template for names
|
void |
setDataField(java.lang.String key)
sets the data field with the given key on the property monitor
|
public void resetReporter(java.util.Map props)
public void resetTemplate(java.lang.String key)
public void setDataField(java.lang.String key)
public java.util.Map loadList()
public java.util.Map<java.lang.String,java.lang.Object> getProps(java.lang.String item)
public java.lang.String getName()
public int getSize()
public java.lang.String getItem(int i)
public java.lang.String getKey(int i)
public java.lang.String getKey(java.lang.String item)
public boolean containsKey(java.lang.String key)
public boolean containsItem(java.lang.String item)
public void close()
protected void finalize()
finalize
in class java.lang.Object