org.eclipse.viatra.transformation.runtime.emf.filters

## Class MatchParameterFilter

- java.lang.Object
- - org.eclipse.viatra.transformation.runtime.emf.filters.MatchParameterFilter

- All Implemented Interfaces:
    EventFilter<IPatternMatch>

      public class MatchParameterFilter
      extends java.lang.Object
      implements EventFilter<IPatternMatch>

  A EVM filter that uses a parameter-value map that can be used for multiple patterns and rules. Use ParameterFilterFactory to create easily manage the mapping and create unmodifiable copies to be added to rules.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MatchParameterFilter(java.util.Map<java.lang.String,java.lang.Object> filterMap)`
    `MatchParameterFilter(org.eclipse.xtext.xbase.lib.Pair<java.lang.String,?>... parameters)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isProcessable(IPatternMatch eventAtom)`
    `<Match extends IPatternMatch,Matcher extends ViatraQueryMatcher<Match>> Match` | `toMatch(Matcher matcher)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MatchParameterFilter

          public MatchParameterFilter(java.util.Map<java.lang.String,java.lang.Object> filterMap)

    - #### MatchParameterFilter

          public MatchParameterFilter(org.eclipse.xtext.xbase.lib.Pair<java.lang.String,?>... parameters)

  - ### Method Detail

    - #### isProcessable

          public boolean isProcessable(IPatternMatch eventAtom)

      Specified by:
        `isProcessable` in interface `EventFilter<IPatternMatch>`

    - #### toMatch

          public <Match extends IPatternMatch,Matcher extends ViatraQueryMatcher<Match>> Match toMatch(Matcher matcher)