public interface IMatchUpdateListener<Match extends IPatternMatch>
See ViatraQueryMatcher#addCallbackOnMatchUpdate(IMatchUpdateListener, boolean)
for usage. Clients should
consider using MatchUpdateAdapter
or deriving their implementation from it.
Modifier and Type | Method and Description |
---|---|
void |
notifyAppearance(Match match)
Will be invoked on each new match that appears.
|
void |
notifyDisappearance(Match match)
Will be invoked on each existing match that disappears.
|
void notifyAppearance(Match match)
match
- the match that has just appeared.void notifyDisappearance(Match match)
match
- the match that has just disappeared.