-
- All Known Implementing Classes:
PrefixedConfigSource
public interface EventConfigSource
A source that supports notifications when changed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onChange(BiConsumer<String,ConfigNode> changedNode)
Register a change listener.
-
-
-
Method Detail
-
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
-
-