ai.timefold.solver.quarkus.deployment.SolverConfigBuildItem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of timefold-solver-quarkus-deployment Show documentation
Show all versions of timefold-solver-quarkus-deployment Show documentation
Quarkus deployment module for timefold-solver-quarkus.
The newest version!
package ai.timefold.solver.quarkus.deployment;
import java.util.Map;
import ai.timefold.solver.core.config.solver.SolverConfig;
import io.quarkus.builder.item.SimpleBuildItem;
public final class SolverConfigBuildItem extends SimpleBuildItem {
private final Map solverConfigurations;
private final GeneratedGizmoClasses generatedGizmoClasses;
/**
* Constructor for multiple solver configurations.
*/
public SolverConfigBuildItem(Map solverConfig, GeneratedGizmoClasses generatedGizmoClasses) {
this.solverConfigurations = solverConfig;
this.generatedGizmoClasses = generatedGizmoClasses;
}
public Map getSolverConfigMap() {
return solverConfigurations;
}
public GeneratedGizmoClasses getGeneratedGizmoClasses() {
return generatedGizmoClasses;
}
}