org.eclipse.incquery.validation.core

## Class ValidationEngineBuilder

- java.lang.Object
- - org.eclipse.incquery.validation.core.ValidationEngineBuilder

-     public class ValidationEngineBuilder
      extends java.lang.Object

  Builder for `ValidationEngine` objects.
  Author:
    Abel Hegedus

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `IValidationEngine` | `build()` Prepares a new `ValidationEngine` using the configured parameters.
    `static ValidationEngineBuilder` | `create()`
    `ValidationEngineBuilder` | `setEngine(IncQueryEngine engine)`
    `ValidationEngineBuilder` | `setLogger(org.apache.log4j.Logger logger)`

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

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

- - ### Method Detail

    - #### create

          public static ValidationEngineBuilder create()

      Returns:
        a new builder to setup validation engines

    - #### build

          public IValidationEngine build()

      Prepares a new `ValidationEngine` using the configured parameters.
      Returns:
        an uninitialized validation engine
      Throws:
        `java.lang.IllegalStateException` - if the `IncQueryEngine` for the new validation engine cannot be determined

    - #### setEngine

          public ValidationEngineBuilder setEngine(IncQueryEngine engine)

    - #### setLogger

          public ValidationEngineBuilder setLogger(org.apache.log4j.Logger logger)