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

## Interface ValidationEngineListener

-     public interface ValidationEngineListener

  Interface for listening for notifications on specific events regarding a validation engine.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `constraintDeregistered(IConstraint constraint)` Called if a constraint has been deregistered on the validation engine on which the listener is registered.
    `void` | `constraintRegistered(IConstraint constraint)` Called if a new constraint has been registered on the validation engine on which the listener is registered.

- - ### Method Detail

    - #### constraintRegistered

          void constraintRegistered(IConstraint constraint)

      Called if a new constraint has been registered on the validation engine on which the listener is registered.
      Parameters:
        `violation` - The constraint which has been registered.

    - #### constraintDeregistered

          void constraintDeregistered(IConstraint constraint)

      Called if a constraint has been deregistered on the validation engine on which the listener is registered.
      Parameters:
        `violation` - The constraint which has been deregistered.