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.KieContainergetKieContainer()voidvalidate() 
 - 
 
- 
- 
Constructor Detail
- 
SolverConfigContext
public SolverConfigContext()
Vanilla context. 
- 
SolverConfigContext
public SolverConfigContext(org.kie.api.runtime.KieContainer kieContainer)
Useful for a kjar deployment. TheKieContaineralso 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 
ClassLoaderto use for loading all resources andClasses 
 
- 
validate
public void validate()
 
 - 
 
 -