Package com.atlassian.bamboo.event
Class StageCompletedEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.springframework.context.ApplicationEvent
-
- com.atlassian.event.Event
-
- com.atlassian.bamboo.event.ChainEvent
-
- com.atlassian.bamboo.event.ChainResultEvent
-
- com.atlassian.bamboo.event.StageCompletedEvent
-
- All Implemented Interfaces:
PlanEvent
,PlanResultEvent
,Serializable
@AsynchronousPreferred public class StageCompletedEvent extends ChainResultEvent
Event that gets triggered after a stage completes- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.event.ChainEvent
planKey
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description StageCompletedEvent(Object source, @NotNull ChainExecution chainExecution, @NotNull StageExecution stageExecution, @Nullable ImmutableChainStage stageDefinition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull ChainExecution
getChainExecution()
TheChainExecution
of the completedStageExecution
@Nullable ImmutableChainStage
getStageDefinition()
@NotNull StageExecution
getStageExecution()
TheStageExecution
of the completed chain-
Methods inherited from class com.atlassian.bamboo.event.ChainResultEvent
getPlanResultKey
-
Methods inherited from class com.atlassian.bamboo.event.ChainEvent
getPlanKey, toString
-
Methods inherited from class java.util.EventObject
getSource
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.atlassian.bamboo.event.PlanEvent
getPlanKey
-
-
-
-
Constructor Detail
-
StageCompletedEvent
public StageCompletedEvent(Object source, @NotNull @NotNull ChainExecution chainExecution, @NotNull @NotNull StageExecution stageExecution, @Nullable @Nullable ImmutableChainStage stageDefinition)
-
-
Method Detail
-
getChainExecution
@NotNull public @NotNull ChainExecution getChainExecution()
TheChainExecution
of the completedStageExecution
- Returns:
- chainExecution
-
getStageExecution
@NotNull public @NotNull StageExecution getStageExecution()
TheStageExecution
of the completed chain- Returns:
- stageExecution
-
getStageDefinition
@Nullable public @Nullable ImmutableChainStage getStageDefinition()
-
-