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 usingMatchUpdateAdapteror deriving their implementation from it.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidnotifyAppearance(Match match)Will be invoked on each new match that appears.voidnotifyDisappearance(Match match)Will be invoked on each existing match that disappears.
-
-
-
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.
-
-