Interface EventConfigSource

All Known Implementing Classes:
PrefixedConfigSource

public interface EventConfigSource
A source that supports notifications when changed.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Register a change listener.
  • Method Details

    • onChange

      void onChange(BiConsumer<String,ConfigNode> changedNode)
      Register a change listener.
      Parameters:
      changedNode - the key and node of the configuration that changed. This may be the whole config tree, or a specific node depending on how fine grained the detection mechanism is. To notify of a whole node being changed, use empty string as a key