Class AutomaticDependencyManagementDeletionInterceptorAction
java.lang.Object
com.atlassian.bamboo.plugins.maven.dependencies.AutomaticDependencyManagementDeletionInterceptorAction
- All Implemented Interfaces:
PlanDeletionInterceptorAction
public class AutomaticDependencyManagementDeletionInterceptorAction
extends Object
implements PlanDeletionInterceptorAction
On Job removal check if Job was a Maven Dependency Provider and if it was then disable automatic dependency management for the Chain.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
intercept
(@NotNull ImmutablePlan plan, @NotNull Supplier<Plan> mutablePlan) Runs before thePlan
and itsResultsSummary
s have been deleted Try relying on theImmutablePlan
argument.
-
Constructor Details
-
AutomaticDependencyManagementDeletionInterceptorAction
public AutomaticDependencyManagementDeletionInterceptorAction()
-
-
Method Details
-
intercept
public void intercept(@NotNull @NotNull ImmutablePlan plan, @NotNull @NotNull Supplier<Plan> mutablePlan) Description copied from interface:PlanDeletionInterceptorAction
Runs before thePlan
and itsResultsSummary
s have been deleted Try relying on theImmutablePlan
argument.- Specified by:
intercept
in interfacePlanDeletionInterceptorAction
-