Class TargetCleanupTask
- java.lang.Object
-
- org.craftercms.deployer.impl.tasks.TargetCleanupTask
-
@Component @ConditionalOnProperty("deployer.main.targets.cleanup.enabled") public class TargetCleanupTask extends Object
Triggers the cleanup of all target repositories.- Author:
- joseross
-
-
Field Summary
Fields Modifier and Type Field Description protected TargetService
targetService
-
Constructor Summary
Constructors Constructor Description TargetCleanupTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanupAllTargets()
Performs a cleanup on all loaded targets.
-
-
-
Field Detail
-
targetService
@Autowired protected TargetService targetService
-
-