All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ai.timefold.solver.quarkus.deployment.SolverConfigBuildItem Maven / Gradle / Ivy

There is a newer version: 1.14.0
Show 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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy