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(ImmutablePlan plan) |
void |
deletePlan(Plan plan)
Deprecated.
since 6.2 use
deletePlan(ImmutablePlan) instead |
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)
Deprecated.
since 6.2 use
deleteStage(ImmutableChainStage) instead |
void |
deleteStage(ImmutableChainStage chainStage)
Schedules the supplied stage for deletion.
|
void |
deleteStagesIgnoringBranchesAndJobs(Iterable<ChainStage> stagesToDelete)
Delete all the stages on the list.
|
void |
executeDelayedDeletion()
Cleanup data scheduled for deletion during
deletePlan(Plan) |
void |
executeDelayedDeletionBlocking()
Clean up any orphaned build results lying around.
|
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)
@Deprecated void deletePlan(@NotNull Plan plan)
deletePlan(ImmutablePlan)
insteadvoid deletePlan(@NotNull ImmutablePlan plan)
void deleteStagesIgnoringBranchesAndJobs(Iterable<ChainStage> stagesToDelete)
stagesToDelete
- void deletePlansIgnoringBranches(Iterable<? extends Plan> plansToDelete)
plansToDelete
- @Deprecated void deleteStage(@NotNull ChainStage chainStage)
deleteStage(ImmutableChainStage)
insteadvoid deleteStage(@NotNull ImmutableChainStage chainStage)
void executeDelayedDeletion()
deletePlan(Plan)
void removeOrphanedBuildResults()
void executeDelayedDeletionBlocking()
void suspendDeletions()
boolean suspendDeletions(long secondsToWait)
void resumeDeletions()
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.