org.eclipse.viatra.query.runtime.registry

## Interface IRegistryViewFilter

-     public interface IRegistryViewFilter

  The registry view filter can control which entries are added and removed from an `IRegistryView`.
  Since:
    1.3

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isEntryRelevant(IQuerySpecificationRegistryEntry entry)` This method controls whether a registry entry is added to the view or not.

- - ### Method Detail

    - #### isEntryRelevant

          boolean isEntryRelevant(IQuerySpecificationRegistryEntry entry)

      This method controls whether a registry entry is added to the view or not. The filtering is called before checking the uniqueness of fully qualified names, and relevant entries can overwrite existing entries with the same FQN. Note that filters should usually return the same value for the same entry on multiple invocations.
      Parameters:
        `entry` - that is checked
      Returns:
        true, if the entry is relevant for the view, false otherwise