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.


Nested Class Summary
static class DeletionService.FireEvent
           
 
Method Summary
 void deletePlan(Plan plan)
           
 java.util.Set<PlanKey> deletePlans(java.lang.Iterable<java.lang.String> planKeys)
           
 void deleteProject(Project project)
           
 java.util.Set<PlanKey> deleteProjects(java.lang.Iterable<java.lang.String> projectKeys)
           
 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.
 boolean suspendDeletions(long secondsToWait)
           
 

Method Detail

deleteProjects

java.util.Set<PlanKey> deleteProjects(java.lang.Iterable<java.lang.String> projectKeys)

deleteProject

void deleteProject(@NotNull
                   Project project)

deletePlan

void deletePlan(@NotNull
                Plan plan)

deletePlans

java.util.Set<PlanKey> deletePlans(java.lang.Iterable<java.lang.String> planKeys)

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.


suspendDeletions

boolean suspendDeletions(long secondsToWait)

resumeDeletions

void resumeDeletions()
Resumes delayed deletion.



Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.