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)
           
 
Method Summary
 void delete(ChainStage chainStage)
           
 void delete(Plan plan)
           
 void delete(Project project)
           
 void executeDelayedDeletion()
          Cleanup data scheduled for deletion during DeletionService.delete(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)
Method Detail

delete

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

delete

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

delete

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

executeDelayedDeletion

public void executeDelayedDeletion()
Description copied from interface: DeletionService
Cleanup data scheduled for deletion during DeletionService.delete(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 © 2010 Atlassian. All Rights Reserved.