org.eclipse.viatra.addon.validation.core

## Class MatchAppearanceJob

- java.lang.Object
- - org.eclipse.viatra.addon.validation.core.MatchAppearanceJob

- All Implemented Interfaces:
    java.util.function.Consumer<IPatternMatch>

      public class MatchAppearanceJob
      extends java.lang.Object
      implements java.util.function.Consumer<IPatternMatch>

  The job is used to process new appearing matches upon constraint violation. It is associated to the rule that is created for the constraint.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MatchAppearanceJob(Constraint constraint, org.apache.log4j.Logger logger)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `accept(IPatternMatch match)`

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

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

    - ### Methods inherited from interface java.util.function.Consumer

      `andThen`

- - ### Constructor Detail

    - #### MatchAppearanceJob

          public MatchAppearanceJob(Constraint constraint,
                                    org.apache.log4j.Logger logger)

  - ### Method Detail

    - #### accept

          public void accept(IPatternMatch match)

      Specified by:
        `accept` in interface `java.util.function.Consumer<IPatternMatch>`
      Since:
        2.0