org.eclipse.viatra.addon.validation.core.listeners

## Interface ConstraintListener

- All Known Implementing Classes:
    MarkerManagerViolationListener

      public interface ConstraintListener

  Interface for listening for notifications on specific events regarding a constraint.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `violationAppeared(IViolation violation)` Called if a new violation appeared for the constraint on which the listener is registered.
    `void` | `violationDisappeared(IViolation violation)` Called if a violation disappeared for the constraint on which the listener is registered.

- - ### Method Detail

    - #### violationAppeared

          void violationAppeared(IViolation violation)

      Called if a new violation appeared for the constraint on which the listener is registered.
      Parameters:
        `violation` - The violation which appeared.

    - #### violationDisappeared

          void violationDisappeared(IViolation violation)

      Called if a violation disappeared for the constraint on which the listener is registered.
      Parameters:
        `violation` - The violation which disappeared.