Class ForceBuildStopper
- java.lang.Object
-
- com.atlassian.bamboo.build.monitoring.ForceBuildStopper
-
public class ForceBuildStopper extends Object
Listens for BuildHungEvent and BuildCanceledEvent and kills child processes.
-
-
Constructor Summary
Constructors Constructor Description ForceBuildStopper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable BuildDefinition
getBuildDefinition(PlanEvent event)
We are receiving this event from a job so we need to get a plan from it.void
onBuildCancelled(BuildCanceledEvent event)
void
onBuildHung(BuildHungEvent event)
-
-
-
Method Detail
-
onBuildCancelled
@EventListener public void onBuildCancelled(BuildCanceledEvent event)
-
onBuildHung
@EventListener public void onBuildHung(BuildHungEvent event)
-
getBuildDefinition
@Nullable public @Nullable BuildDefinition getBuildDefinition(PlanEvent event)
We are receiving this event from a job so we need to get a plan from it.
-
-