com.atlassian.bamboo.deletion
Class DeletionServiceImpl

java.lang.Object
  extended by com.atlassian.bamboo.deletion.DeletionServiceImpl
All Implemented Interfaces:
DeletionService

public class DeletionServiceImpl
extends java.lang.Object
implements DeletionService


Constructor Summary
DeletionServiceImpl(ErrorHandler errorHandler, BuildResultsIndexer buildResultsIndexer, PlanScheduler planScheduler, PlanDependencyManager planDependencyManager, PlanParticleManager planParticleManager, com.atlassian.event.EventManager eventManager, ResultsSummaryManager resultsSummaryManager, BuildSuspensionCheckBean buildSuspensionCheckBean, AdminErrorHandler adminErrorHandler, org.acegisecurity.acls.MutableAclService aclService, TestsManager testsManager, ProjectManager projectManager, PlanManager planManager, ChainStageDao chainStageDao, com.atlassian.bandana.BandanaPersister bandanaPersister, com.atlassian.plugin.PluginAccessor pluginAccessor, ArtifactDefinitionManager artifactDefinitionManager, ArtifactSubscriptionManager artifactSubscriptionManager, AuditLogService auditLogService, VariableDefinitionManager variableDefinitionManager, PlanVcsRevisionHistoryService planVcsRevisionHistoryService)
           
 
Method Summary
 void deletePlan(Plan plan)
           
 void deleteProject(Project project)
           
 void deleteStage(ChainStage chainStage)
           
 void executeDelayedDeletion()
          Cleanup data scheduled for deletion during DeletionService.deletePlan(Plan)
 void resumeDeletions()
          Resumes delayed deletion.
 void suspendDeletions()
          Blocks until all currently deleted objects are deleted and then suspends deletions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeletionServiceImpl

public DeletionServiceImpl(ErrorHandler errorHandler,
                           BuildResultsIndexer buildResultsIndexer,
                           PlanScheduler planScheduler,
                           PlanDependencyManager planDependencyManager,
                           PlanParticleManager planParticleManager,
                           com.atlassian.event.EventManager eventManager,
                           ResultsSummaryManager resultsSummaryManager,
                           BuildSuspensionCheckBean buildSuspensionCheckBean,
                           AdminErrorHandler adminErrorHandler,
                           org.acegisecurity.acls.MutableAclService aclService,
                           TestsManager testsManager,
                           ProjectManager projectManager,
                           PlanManager planManager,
                           ChainStageDao chainStageDao,
                           com.atlassian.bandana.BandanaPersister bandanaPersister,
                           com.atlassian.plugin.PluginAccessor pluginAccessor,
                           ArtifactDefinitionManager artifactDefinitionManager,
                           ArtifactSubscriptionManager artifactSubscriptionManager,
                           AuditLogService auditLogService,
                           VariableDefinitionManager variableDefinitionManager,
                           PlanVcsRevisionHistoryService planVcsRevisionHistoryService)
Method Detail

deleteProject

public void deleteProject(@NotNull
                          Project project)
Specified by:
deleteProject in interface DeletionService

deletePlan

public void deletePlan(@NotNull
                       Plan plan)
Specified by:
deletePlan in interface DeletionService

deleteStage

public void deleteStage(@NotNull
                        ChainStage chainStage)
Specified by:
deleteStage in interface DeletionService

executeDelayedDeletion

public void executeDelayedDeletion()
Description copied from interface: DeletionService
Cleanup data scheduled for deletion during DeletionService.deletePlan(Plan)

Specified by:
executeDelayedDeletion in interface DeletionService

suspendDeletions

public void suspendDeletions()
Description copied from interface: DeletionService
Blocks until all currently deleted objects are deleted and then suspends deletions.

Specified by:
suspendDeletions in interface DeletionService

resumeDeletions

public void resumeDeletions()
Description copied from interface: DeletionService
Resumes delayed deletion.

Specified by:
resumeDeletions in interface DeletionService


Copyright © 2011 Atlassian. All Rights Reserved.