org.eclipse.viatra.addon.validation.core

## Class MatchDisappearanceJob

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

- All Implemented Interfaces:
    IMatchProcessor<IPatternMatch>

      public class MatchDisappearanceJob
      extends java.lang.Object
      implements IMatchProcessor<IPatternMatch>

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

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `process(IPatternMatch match)` Defines the action that is to be executed on each match.

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

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

- - ### Constructor Detail

    - #### MatchDisappearanceJob

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

  - ### Method Detail

    - #### process

          public void process(IPatternMatch match)

      Description copied from interface: `IMatchProcessor`
      Defines the action that is to be executed on each match.
      Specified by:
        `process` in interface `IMatchProcessor<IPatternMatch>`
      Parameters:
        `match` - a single match of the pattern that must be processed by the implementation of this method