Interface ResourceChangeContext


public interface ResourceChangeContext
Represents a change event in a resource collection. Presently, this contains only the (optional) context object associated with the change(s), but this interface exists as an api wedge to allow for future expansion.
  • Method Details

    • getContextObject

      Optional<Object> getContextObject()
      Returns:
      the context object associated with this change notification, if any was provided in the push operation. Will be empty if no context object was provided, or this change was caused by something other than a push
    • forContextObject

      static ResourceChangeContext forContextObject(@Nullable @Nullable Object contextObject)