Package org.optaplanner.core.config

## Class SolverConfigContext

- java.lang.Object
- - org.optaplanner.core.config.SolverConfigContext

-     public class SolverConfigContext
      extends Object

  Do not use this class, it is an internal class. It should be in impl.

  Will be removed in 8.0.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `SolverConfigContext()` | Vanilla context.
    `SolverConfigContext​(org.kie.api.runtime.KieContainer kieContainer)` | Useful for a kjar deployment.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `org.kie.api.runtime.KieContainer` | `getKieContainer()` |
    `void` | `validate()` |

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

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

- - ### Constructor Detail

    - #### SolverConfigContext

          public SolverConfigContext()

      Vanilla context.

    - #### SolverConfigContext

          public SolverConfigContext​(org.kie.api.runtime.KieContainer kieContainer)

      Useful for a kjar deployment. The `KieContainer` also defines the non-vanilla `ClassLoader`.
      Parameters:
        `kieContainer` - if null behaves as `SolverConfigContext()`

  - ### Method Detail

    - #### getKieContainer

          public org.kie.api.runtime.KieContainer getKieContainer()

      Returns:
        sometimes null, affects the `ClassLoader` to use for loading all resources and `Class`es

    - #### validate

          public void validate()