Package space.arim.dazzleconf.engine
Interface UpdateListener
- All Known Subinterfaces:
ConfigurationDefinition.ReadOptions,ConfigurationDefinition.ReadWithUpdateOptions,ConfigureListener,DeserializeContext,DeserializeInput,MigrateContext
public interface UpdateListener
Listener that lets the implementor know when paths were updated.
This interface is extended in different parts of the library depending on context. Its sole method,
notifyUpdate is often overidden to provide additional documentation.
-
Method Summary
Modifier and TypeMethodDescriptionvoidnotifyUpdate(@NonNull KeyPath entryPath, @NonNull UpdateReason updateReason) Called when a path is updated, or could be updated.
-
Method Details
-
notifyUpdate
Called when a path is updated, or could be updated.- Parameters:
entryPath- the path of the entryupdateReason- the update reason
-