Class JobRunner
java.lang.Object
org.qubership.atp.environments.utils.JobRunner
-
Constructor Summary
ConstructorsConstructorDescriptionJobRunner(JaversSnapshotService javersSnapshotService, org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor archiveJobExecutor) -
Method Summary
Modifier and TypeMethodDescriptionvoidrun()Job that removes irrelevant data from the change history.
-
Constructor Details
-
JobRunner
public JobRunner(JaversSnapshotService javersSnapshotService, org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor archiveJobExecutor)
-
-
Method Details
-
run
@Scheduled(cron="${atp-environments.archive.cron.expression}", zone="UTC") public void run()Job that removes irrelevant data from the change history.
-