ai.timefold.solver.spring.boot.autoconfigure.TimefoldSolverBannerBean Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of timefold-solver-spring-boot-autoconfigure Show documentation
Show all versions of timefold-solver-spring-boot-autoconfigure Show documentation
Timefold solves planning problems.
This lightweight, embeddable planning engine implements powerful and scalable algorithms
to optimize business resource scheduling and planning.
This module contains the Spring Boot autoconfigure.
package ai.timefold.solver.spring.boot.autoconfigure;
import ai.timefold.solver.core.enterprise.TimefoldSolverEnterpriseService;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Component;
@Component
public class TimefoldSolverBannerBean implements InitializingBean {
private static final Log LOG = LogFactory.getLog(TimefoldSolverBannerBean.class);
@Override
public void afterPropertiesSet() {
LOG.info("Using Timefold Solver " + TimefoldSolverEnterpriseService.identifySolverVersion() + ".");
}
}