Package tools.refinery.interpreter.api
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
for usage. Clients should
consider using invalid reference
InterpreterMatcher#addCallbackOnMatchUpdate(IMatchUpdateListener, boolean)
MatchUpdateAdapter
or deriving their implementation from it.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-
Method Details
-
notifyAppearance
Will be invoked on each new match that appears.- Parameters:
match
- the match that has just appeared.
-
notifyDisappearance
Will be invoked on each existing match that disappears.- Parameters:
match
- the match that has just disappeared.
-