Interface IMatchUpdateListener<Match extends IPatternMatch>

  • All Known Implementing Classes:
    MatchUpdateAdapter

    public interface IMatchUpdateListener<Match extends IPatternMatch>
    An interface for low-level notifications about match appearance and disappearance.

    See ViatraQueryMatcher#addCallbackOnMatchUpdate(IMatchUpdateListener, boolean) for usage. Clients should consider using MatchUpdateAdapter or deriving their implementation from it.

    • Method Detail

      • notifyAppearance

        void notifyAppearance​(Match match)
        Will be invoked on each new match that appears.
        Parameters:
        match - the match that has just appeared.
      • notifyDisappearance

        void notifyDisappearance​(Match match)
        Will be invoked on each existing match that disappears.
        Parameters:
        match - the match that has just disappeared.