org.eclipse.incquery.runtime.api

## Interface IncQueryEngineLifecycleListener

- All Known Implementing Classes:
    LifecycleProvider

      public interface IncQueryEngineLifecycleListener

  Listener interface for getting notification on changes in an `IncQueryEngine`. 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.
  Author:
    Abel Hegedus

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `engineBecameTainted(java.lang.String message, java.lang.Throwable t)` Called after the engine has become tainted due to a fatal error
    `void` | `engineDisposed()` Called after the engine has been disposed
    `void` | `engineWiped()` Called after the engine has been wiped
    `void` | `matcherInstantiated(IncQueryMatcher<? extends IPatternMatch> matcher)` Called after a matcher is instantiated in the engine

- - ### Method Detail

    - #### matcherInstantiated

          void matcherInstantiated(IncQueryMatcher<? extends IPatternMatch> matcher)

      Called after a matcher is instantiated in the engine
      Parameters:
        `matcher` - the new matcher

    - #### engineBecameTainted

          void engineBecameTainted(java.lang.String message,
                                   java.lang.Throwable t)

      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