Package com.atlassian.bamboo.plan.branch
Class BranchExpiryJob
java.lang.Object
com.atlassian.bamboo.plan.branch.BranchExpiryJob
- All Implemented Interfaces:
org.quartz.Job
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
void
execute
(org.quartz.JobExecutionContext jobExecutionContext) boolean
hasRegisteredCommits
(ImmutableChainBranch chainBranch) boolean
hasRegisteredCommitsAfter
(ImmutableChainBranch chainBranch, Date thresholdDate) void
setBranchCommitInformationManager
(BranchCommitInformationManager branchCommitInformationManager) void
setCachedPlanManager
(CachedPlanManager cachedPlanManager) void
setCustomVariableContext
(CustomVariableContext customVariableContext) void
setDeletionService
(DeletionService deletionService) void
setErrorUpdateHandler
(ErrorUpdateHandler errorUpdateHandler) void
setImmutablePlanCacheService
(ImmutablePlanCacheService immutablePlanCacheService) void
setVcsBranchDao
(VcsBranchDao vcsBranchDao) void
setVcsRepositoryManager
(VcsRepositoryManager vcsRepositoryManager)
-
Constructor Details
-
BranchExpiryJob
public BranchExpiryJob()
-
-
Method Details
-
execute
public void execute(org.quartz.JobExecutionContext jobExecutionContext) throws org.quartz.JobExecutionException - Specified by:
execute
in interfaceorg.quartz.Job
- Throws:
org.quartz.JobExecutionException
-
cleanupExpiredDueToInactivity
-
cleanUpExpiredVcsBranches
protected void cleanUpExpiredVcsBranches() -
setCachedPlanManager
-
setImmutablePlanCacheService
-
setDeletionService
-
setErrorUpdateHandler
-
setBranchCommitInformationManager
public void setBranchCommitInformationManager(BranchCommitInformationManager branchCommitInformationManager) -
setVcsBranchDao
-
setCustomVariableContext
-
setVcsRepositoryManager
-
hasRegisteredCommits
-
hasRegisteredCommitsAfter
-