Package com.atlassian.bamboo.deletion
Interface PlanDeletionInterceptorAction
-
- All Known Implementing Classes:
AutomaticDependencyManagementDeletionInterceptorAction
public interface PlanDeletionInterceptorAction
Runs before thePlan
and itsResultsSummary
s have been deleted Any plugins that implement this interface will be run inline with the methods onDeletionService
Please note that if any implementations fail to execute (throw an exception, etc) thePlan
will be deleted regardless.
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default 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
intercept(@NotNull Plan plan)
Deprecated.since 6.2 useintercept(ImmutablePlan, Supplier)
instead.
-
-
-
Method Detail
-
intercept
@Deprecated default void intercept(@NotNull @NotNull Plan plan)
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.
-
-