public class BranchExpiryJob extends Object implements org.quartz.Job
Constructor and Description |
---|
BranchExpiryJob() |
Modifier and Type | Method and Description |
---|---|
protected void |
cleanupExpiredDueToInactivity(ImmutableChain chain) |
protected void |
cleanUpExpiredVcsBranches() |
void |
execute(org.quartz.JobExecutionContext jobExecutionContext) |
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 |
setPlanManager(PlanManager planManager) |
void |
setVcsBranchDao(VcsBranchDao vcsBranchDao) |
void |
setVcsRepositoryManager(VcsRepositoryManager vcsRepositoryManager) |
public void execute(org.quartz.JobExecutionContext jobExecutionContext) throws org.quartz.JobExecutionException
execute
in interface org.quartz.Job
org.quartz.JobExecutionException
protected void cleanupExpiredDueToInactivity(ImmutableChain chain)
protected void cleanUpExpiredVcsBranches()
public void setPlanManager(PlanManager planManager)
public void setCachedPlanManager(CachedPlanManager cachedPlanManager)
public void setDeletionService(DeletionService deletionService)
public void setErrorUpdateHandler(ErrorUpdateHandler errorUpdateHandler)
public void setBranchCommitInformationManager(BranchCommitInformationManager branchCommitInformationManager)
public void setVcsBranchDao(VcsBranchDao vcsBranchDao)
public void setCustomVariableContext(CustomVariableContext customVariableContext)
public void setVcsRepositoryManager(VcsRepositoryManager vcsRepositoryManager)
public boolean hasRegisteredCommitsAfter(ImmutableChainBranch chainBranch, Date thresholdDate)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.