Class TimefoldBenchmarkAutoConfiguration
java.lang.Object
ai.timefold.solver.spring.boot.autoconfigure.TimefoldBenchmarkAutoConfiguration
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanClassLoaderAware
@Configuration
@AutoConfigureAfter(TimefoldAutoConfiguration.class)
@ConditionalOnClass(ai.timefold.solver.benchmark.api.PlannerBenchmarkFactory.class)
@ConditionalOnMissingBean(ai.timefold.solver.benchmark.api.PlannerBenchmarkFactory.class)
@EnableConfigurationProperties(TimefoldProperties.class)
public class TimefoldBenchmarkAutoConfiguration
extends Object
implements org.springframework.beans.factory.BeanClassLoaderAware
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTimefoldBenchmarkAutoConfiguration(TimefoldProperties timefoldProperties) -
Method Summary
Modifier and TypeMethodDescriptionplannerBenchmarkConfig(ai.timefold.solver.core.config.solver.SolverConfig solverConfig) plannerBenchmarkFactory(PlannerBenchmarkConfig benchmarkConfig) voidsetBeanClassLoader(ClassLoader classLoader)
-
Constructor Details
-
TimefoldBenchmarkAutoConfiguration
-
-
Method Details
-
plannerBenchmarkConfig
@Bean public PlannerBenchmarkConfig plannerBenchmarkConfig(ai.timefold.solver.core.config.solver.SolverConfig solverConfig) -
plannerBenchmarkFactory
@Bean public PlannerBenchmarkFactory plannerBenchmarkFactory(PlannerBenchmarkConfig benchmarkConfig) -
setBeanClassLoader
- Specified by:
setBeanClassLoaderin interfaceorg.springframework.beans.factory.BeanClassLoaderAware
-