Class OptaPlannerBuildTimeConfig
- java.lang.Object
-
- org.optaplanner.quarkus.deployment.config.OptaPlannerBuildTimeConfig
-
@ConfigRoot(name="optaplanner") public class OptaPlannerBuildTimeConfig extends Object
During build time, this is translated into OptaPlanner's Config classes.
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONSTRAINTS_DRL_PROPERTYstatic StringDEFAULT_CONSTRAINTS_DRL_URLstatic StringDEFAULT_SOLVER_CONFIG_URLOptional<String>scoreDrlA classpath resource to read the solver score DRL.SolverBuildTimeConfigsolverConfiguration properties that overwrite OptaPlanner'sSolverConfig.Optional<String>solverConfigXmlA classpath resource to read the solver configuration XML.
-
Constructor Summary
Constructors Constructor Description OptaPlannerBuildTimeConfig()
-
-
-
Field Detail
-
DEFAULT_SOLVER_CONFIG_URL
public static final String DEFAULT_SOLVER_CONFIG_URL
- See Also:
- Constant Field Values
-
DEFAULT_CONSTRAINTS_DRL_URL
public static final String DEFAULT_CONSTRAINTS_DRL_URL
- See Also:
- Constant Field Values
-
CONSTRAINTS_DRL_PROPERTY
public static final String CONSTRAINTS_DRL_PROPERTY
- See Also:
- Constant Field Values
-
solverConfigXml
@ConfigItem public Optional<String> solverConfigXml
A classpath resource to read the solver configuration XML. Defaults to "solverConfig.xml". If this property isn't specified, that solverConfig.xml is optional.
-
scoreDrl
@ConfigItem public Optional<String> scoreDrl
A classpath resource to read the solver score DRL. Defaults to "DEFAULT_CONSTRAINTS_DRL_URL". Do not define this property when aConstraintProvider,EasyScoreCalculatororIncrementalScoreCalculatorclass exists.
-
solver
@ConfigItem public SolverBuildTimeConfig solver
Configuration properties that overwrite OptaPlanner'sSolverConfig.
-
-