Package org.confng.reload
Class ConfigChangeListener.ConfigChangeEvent
- java.lang.Object
-
- org.confng.reload.ConfigChangeListener.ConfigChangeEvent
-
- Enclosing interface:
- ConfigChangeListener
public static class ConfigChangeListener.ConfigChangeEvent extends Object
Event object containing details about configuration changes.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>getChangedKeys()Gets the set of keys that have changed.StringgetNewValue(String key)Gets the new value for a key after the change.Map<String,String>getNewValues()Gets all new values.StringgetOldValue(String key)Gets the old value for a key before the change.Map<String,String>getOldValues()Gets all old values.StringgetSource()Gets the source that triggered the change (e.g., file path).longgetTimestamp()Gets the timestamp when the change was detected.booleanhasChanged(String key)Checks if a specific key has changed.
-