Class WannabeSolverManager

  • All Implemented Interfaces:
    org.springframework.boot.ApplicationRunner

    @ApplicationScope
    @Component
    public class WannabeSolverManager
    extends Object
    implements org.springframework.boot.ApplicationRunner
    • Field Detail

      • logger

        protected final transient org.slf4j.Logger logger
    • Constructor Detail

      • WannabeSolverManager

        public WannabeSolverManager​(org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor taskExecutor,
                                    RosterService rosterService)
    • Method Detail

      • run

        public void run​(org.springframework.boot.ApplicationArguments args)
        Specified by:
        run in interface org.springframework.boot.ApplicationRunner
      • setUpSolverFactory

        public void setUpSolverFactory()
      • terminate

        public void terminate​(Integer tenantId)
      • getScoreDirector

        public org.optaplanner.core.impl.score.director.ScoreDirector<Roster> getScoreDirector()