クラス 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()
-
メソッドの概要
修飾子とタイプ メソッド 説明 FileDeleter
fileDeleter()
Registers the instance ofFileDeleter
as bean.void
performScheduleFileDeletion()
Performs the process of scheduled file deletion.
-
コンストラクタの詳細
-
BatchJobConfiguration
public BatchJobConfiguration()
-
-
メソッドの詳細
-
fileDeleter
Registers the instance ofFileDeleter
as bean.- 戻り値:
- The instance of
FileDeleter
-
performScheduleFileDeletion
@Scheduled(cron="${spring.batch.schedule.cron}", zone="${spring.batch.schedule.timezone}") public void performScheduleFileDeletion() throws ExceptionPerforms the process of scheduled file deletion.- 例外:
Exception
- When an error occurs in the scheduled file deletion process
-