org.eclipse.viatra.addon.validation.core

## Class MatchUpdateJob

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

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

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

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

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MatchUpdateJob(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

    - #### MatchUpdateJob

          public MatchUpdateJob(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