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()
-
-
-
Constructor Detail
-
SolverConfigContext
public SolverConfigContext()
Vanilla context.
-
SolverConfigContext
public SolverConfigContext(org.kie.api.runtime.KieContainer kieContainer)
Useful for a kjar deployment. TheKieContainer
also defines the non-vanillaClassLoader
.- Parameters:
kieContainer
- if null behaves asSolverConfigContext()
-
-
Method Detail
-
getKieContainer
public org.kie.api.runtime.KieContainer getKieContainer()
- Returns:
- sometimes null, affects the
ClassLoader
to use for loading all resources andClass
es
-
validate
public void validate()
-
-