public interface DeletionService
executeDelayedDeletion()
should be called to cleanup data scheduled for deletion.Modifier and Type | Interface and Description |
---|---|
static class |
DeletionService.FireEvent |
Modifier and Type | Method and Description |
---|---|
void |
deletePlan(Plan plan) |
Set<PlanKey> |
deletePlans(Iterable<String> planKeys) |
void |
deletePlansIgnoringBranches(Iterable<? extends Plan> plansToDelete)
Delete all the plans on the list.
|
void |
deleteProject(Project project) |
Set<PlanKey> |
deleteProjects(Iterable<String> projectKeys) |
void |
deleteStage(ChainStage chainStage) |
void |
deleteStagesIgnoringBranchesAndJobs(Iterable<ChainStage> stagesToDelete)
Delete all the stages on the list.
|
void |
executeDelayedDeletion()
Cleanup data scheduled for deletion during
deletePlan(Plan) |
void |
removeOrphanedBuildResults()
Clean up any orphaned build results lying around.
|
void |
resumeDeletions()
Resumes delayed deletion.
|
void |
suspendDeletions()
Blocks until all currently deleted objects are deleted and then suspends deletions.
|
boolean |
suspendDeletions(long secondsToWait) |
void deleteProject(@NotNull Project project)
void deletePlan(@NotNull Plan plan)
void deleteStagesIgnoringBranchesAndJobs(Iterable<ChainStage> stagesToDelete)
stagesToDelete
- void deletePlansIgnoringBranches(Iterable<? extends Plan> plansToDelete)
plansToDelete
- void deleteStage(@NotNull ChainStage chainStage)
void executeDelayedDeletion()
deletePlan(Plan)
void removeOrphanedBuildResults()
void suspendDeletions()
boolean suspendDeletions(long secondsToWait)
void resumeDeletions()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.