Class TargetCleanupTask


  • @Component
    @ConditionalOnProperty("deployer.main.targets.cleanup.enabled")
    public class TargetCleanupTask
    extends Object
    Triggers the cleanup of all target repositories.
    Author:
    joseross
    • Field Detail

      • targetService

        @Autowired
        protected TargetService targetService
    • Constructor Detail

      • TargetCleanupTask

        public TargetCleanupTask()
    • Method Detail

      • cleanupAllTargets

        @Scheduled(cron="${deployer.main.targets.cleanup.cron}")
        public void cleanupAllTargets()
        Performs a cleanup on all loaded targets.