Package org.eclipse.viatra.addon.validation.core

## Class ViolationCreationProcessor

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

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

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

  The job is used to process retrieved matches and create violations upon listing on a constraint.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ViolationCreationProcessor​(Constraint constraint, org.apache.log4j.Logger logger, java.util.Map<ViolationKey,​Violation> violationMap)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | 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

    - #### ViolationCreationProcessor

          public ViolationCreationProcessor​(Constraint constraint,
                                            org.apache.log4j.Logger logger,
                                            java.util.Map<ViolationKey,​Violation> violationMap)

  - ### Method Detail

    - #### accept

          public void accept​(IPatternMatch match)

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