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 Type
    Method
    Description
    void
    notifyUpdate(@NonNull KeyPath entryPath, @NonNull UpdateReason updateReason)
    Called when a path is updated, or could be updated.
  • Method Details

    • notifyUpdate

      void notifyUpdate(@NonNull KeyPath entryPath, @NonNull UpdateReason updateReason)
      Called when a path is updated, or could be updated.
      Parameters:
      entryPath - the path of the entry
      updateReason - the update reason