com.atlassian.bamboo.deletion
Interface DeletionService

All Known Implementing Classes:
DeletionServiceImpl

public interface DeletionService

In order to minimize time required for object deletion it is instead marked for deletion and deleted at a later date. executeDelayedDeletion() should be called to cleanup data scheduled for deletion.


Method Summary
 void deletePlan(Plan plan)
           
 void deleteProject(Project project)
           
 void deleteStage(ChainStage chainStage)
           
 void executeDelayedDeletion()
          Cleanup data scheduled for deletion during deletePlan(Plan)
 void resumeDeletions()
          Resumes delayed deletion.
 void suspendDeletions()
          Blocks until all currently deleted objects are deleted and then suspends deletions.
 

Method Detail

deleteProject

void deleteProject(@NotNull
                   Project project)

deletePlan

void deletePlan(@NotNull
                Plan plan)

deleteStage

void deleteStage(@NotNull
                 ChainStage chainStage)

executeDelayedDeletion

void executeDelayedDeletion()
Cleanup data scheduled for deletion during deletePlan(Plan)


suspendDeletions

void suspendDeletions()
Blocks until all currently deleted objects are deleted and then suspends deletions.


resumeDeletions

void resumeDeletions()
Resumes delayed deletion.



Copyright © 2011 Atlassian. All Rights Reserved.