クラス BatchJobConfiguration

java.lang.Object
org.thinkit.bot.filater.batch.config.BatchJobConfiguration

@Configuration
@EnableScheduling
public class BatchJobConfiguration
extends Object
The class that defines the configuration of a batch job process and schedule.
導入されたバージョン:
1.0.0
  • コンストラクタの詳細

    • BatchJobConfiguration

      public BatchJobConfiguration()
  • メソッドの詳細

    • fileDeleter

      @Bean public FileDeleter fileDeleter()
      Registers the instance of FileDeleter as bean.
      戻り値:
      The instance of FileDeleter
    • performScheduleFileDeletion

      @Scheduled(cron="${spring.batch.schedule.cron}", zone="${spring.batch.schedule.timezone}") public void performScheduleFileDeletion() throws Exception
      Performs the process of scheduled file deletion.
      例外:
      Exception - When an error occurs in the scheduled file deletion process