Class ConfigChangeListener.ConfigChangeEvent

  • Enclosing interface:
    ConfigChangeListener

    public static class ConfigChangeListener.ConfigChangeEvent
    extends Object
    Event object containing details about configuration changes.
    • Method Detail

      • getChangedKeys

        public Set<String> getChangedKeys()
        Gets the set of keys that have changed.
      • hasChanged

        public boolean hasChanged​(String key)
        Checks if a specific key has changed.
      • getOldValue

        public String getOldValue​(String key)
        Gets the old value for a key before the change.
      • getNewValue

        public String getNewValue​(String key)
        Gets the new value for a key after the change.
      • getOldValues

        public Map<String,​String> getOldValues()
        Gets all old values.
      • getNewValues

        public Map<String,​String> getNewValues()
        Gets all new values.
      • getSource

        public String getSource()
        Gets the source that triggered the change (e.g., file path).
      • getTimestamp

        public long getTimestamp()
        Gets the timestamp when the change was detected.