org.eclipse.viatra.addon.validation.runtime

## Class ValidationInitializerUtil

- java.lang.Object
- - org.eclipse.viatra.addon.validation.runtime.ValidationInitializerUtil

-     public final class ValidationInitializerUtil
      extends java.lang.Object

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static IValidationEngine` | `initializeValidationWithRegisteredConstraintsOnScope(QueryScope scope, java.lang.String editorId)` Initializes a new validation engine implementing the IValidationEngine interface on the provided Notifier instance with the constrains specified for the given editor Id.

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

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

- - ### Method Detail

    - #### initializeValidationWithRegisteredConstraintsOnScope

          public static IValidationEngine initializeValidationWithRegisteredConstraintsOnScope(QueryScope scope,
                                                                                               java.lang.String editorId)

      Initializes a new validation engine implementing the IValidationEngine interface on the provided Notifier instance with the constrains specified for the given editor Id.
      Parameters:
        `scope` - The Notifier object on which the validation engine should be initialized.
        `editorId` - An editor Id for which we wish to use the registered constraint specifications at the org.eclipse.viatra.addon.livevalidation.runtime.constraintspecification extension point.
      Returns:
        The initialized validation engine.