Package com.atlassian.bamboo.deletion
Interface PlanDeletionInterceptorAction
- All Known Implementing Classes:
AutomaticDependencyManagementDeletionInterceptorAction
public interface PlanDeletionInterceptorAction
Runs before the
Plan
and its ResultsSummary
s have been deleted
Any plugins that implement this interface will be run inline with the methods on DeletionService
Please note that if any implementations fail to execute (throw an exception, etc) the Plan
will be deleted regardless.-
Method Summary
Modifier and TypeMethodDescriptiondefault void
intercept
(@NotNull ImmutablePlan plan, @NotNull Supplier<Plan> mutablePlan) Runs before thePlan
and itsResultsSummary
s have been deleted Try relying on theImmutablePlan
argument.default void
Deprecated.
-
Method Details
-
intercept
Deprecated.since 6.2 useintercept(ImmutablePlan, Supplier)
instead.Runs before thePlan
and itsResultsSummary
s have been deleted- Parameters:
plan
-
-
intercept
default void intercept(@NotNull @NotNull ImmutablePlan plan, @NotNull @NotNull Supplier<Plan> mutablePlan) Runs before thePlan
and itsResultsSummary
s have been deleted Try relying on theImmutablePlan
argument.
-
intercept(ImmutablePlan, Supplier)
instead.