Package tools.refinery.interpreter.api
Interface InterpreterEngineLifecycleListener
- All Known Implementing Classes:
LifecycleProvider
public interface InterpreterEngineLifecycleListener
Listener interface for getting notification on changes in an
InterpreterEngine.
You can use it to remove any other listeners that you attached to matchers or the engine,
or to handle matchers that are initialized after you started using the engine.-
Method Summary
Modifier and TypeMethodDescriptionvoidengineBecameTainted(String message, Throwable t) Called after the engine has become tainted due to a fatal errorvoidCalled after the engine has been disposedvoidCalled after the engine has been wipedvoidmatcherInstantiated(InterpreterMatcher<? extends IPatternMatch> matcher) Called after a matcher is instantiated in the engine
-
Method Details
-
matcherInstantiated
Called after a matcher is instantiated in the engine- Parameters:
matcher- the new matcher
-
engineBecameTainted
Called after the engine has become tainted due to a fatal error -
engineWiped
void engineWiped()Called after the engine has been wiped -
engineDisposed
void engineDisposed()Called after the engine has been disposed
-