com.atlassian.bamboo.event
Class FailedStageRestartEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by com.atlassian.event.Event
              extended by com.atlassian.bamboo.event.ChainEvent
                  extended by com.atlassian.bamboo.event.ChainResultEvent
                      extended by com.atlassian.bamboo.event.FailedStageRestartEvent
All Implemented Interfaces:
PlanEvent, PlanResultEvent, Serializable

@AsynchronousPreferred
public class FailedStageRestartEvent
extends ChainResultEvent

Event that gets triggered before a failed stage is restarted

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
FailedStageRestartEvent(Object source, ChainExecution chainExecution, StageExecution stageExecution)
           
 
Method Summary
 ChainExecution getChainExecution()
          The ChainExecution of the restarted failed StageExecution
 StageExecution getStageExecution()
          The StageExecution of the restarted failed stage
 
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 com.atlassian.event.Event
equals, hashCode
 
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
 
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

FailedStageRestartEvent

public FailedStageRestartEvent(Object source,
                               @NotNull
                               ChainExecution chainExecution,
                               @NotNull
                               StageExecution stageExecution)
Method Detail

getChainExecution

@NotNull
public ChainExecution getChainExecution()
The ChainExecution of the restarted failed StageExecution

Returns:
chainExecution

getStageExecution

@NotNull
public StageExecution getStageExecution()
The StageExecution of the restarted failed stage

Returns:
stageExecution


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.