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 delete(ChainStage chainStage)
           
 void delete(Plan plan)
           
 void delete(Project project)
           
 void executeDelayedDeletion()
          Cleanup data scheduled for deletion during delete(Plan)
 void resumeDeletions()
          Resumes delayed deletion.
 void suspendDeletions()
          Blocks until all currently deleted objects are deleted and then suspends deletions.
 

Method Detail

delete

void delete(@NotNull
            Project project)

delete

void delete(@NotNull
            Plan plan)

delete

void delete(@NotNull
            ChainStage chainStage)

executeDelayedDeletion

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


suspendDeletions

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


resumeDeletions

void resumeDeletions()
Resumes delayed deletion.



Copyright © 2010 Atlassian. All Rights Reserved.