org.eclipse.incquery.runtime.localsearch.operations

## Interface IMatcherBasedOperation

- All Known Implementing Classes:
    BinaryTransitiveClosureCheck, CountCheck, CountOperation, NACOperation

      public interface IMatcherBasedOperation

  A common interface for local search operations that execute by calling an additional matcher
  Author:
    Marton Bur

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `LocalSearchMatcher` | `getAndPrepareCalledMatcher(MatchingFrame frame, ISearchContext context)` Gets the called matcher based on the context and the current adornment and stores it in the corresponding field of the operation
    `LocalSearchMatcher` | `getCalledMatcher()` Gets the called matcher associated with the operation

- - ### Method Detail

    - #### getAndPrepareCalledMatcher

          LocalSearchMatcher getAndPrepareCalledMatcher(MatchingFrame frame,
                                                        ISearchContext context)

      Gets the called matcher based on the context and the current adornment and stores it in the corresponding field of the operation
      Parameters:
        `frame` - the current matching frame
        `context` - the search context
      Returns:
        the called local search matcher

    - #### getCalledMatcher

          LocalSearchMatcher getCalledMatcher()

      Gets the called matcher associated with the operation
      Returns:
        the called local search matcher or null if no matcher assigned