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 and 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 and 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()

Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.