org.jenkinsci.plugins.buildflow.concurrent.extension
Class MoreRecentFlowAbortCause

java.lang.Object
  extended by jenkins.model.CauseOfInterruption
      extended by org.jenkinsci.plugins.buildflow.concurrent.extension.MoreRecentFlowAbortCause

public class MoreRecentFlowAbortCause
extends jenkins.model.CauseOfInterruption

The cause of interruption when we abort the build if a more recent flow requests the same block.

Author:
James Nord

Nested Class Summary
 
Nested classes/interfaces inherited from class jenkins.model.CauseOfInterruption
jenkins.model.CauseOfInterruption.UserInterruption
 
Constructor Summary
MoreRecentFlowAbortCause(com.cloudbees.plugins.flow.FlowRun newer, String block)
          Construct a new MoreRecentFlowAbortCause to specify the reason for the abort was due to the fact that a more recent FlowRun was attempting to enter the same block.
 
Method Summary
 String getShortDescription()
           
 
Methods inherited from class jenkins.model.CauseOfInterruption
print
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoreRecentFlowAbortCause

public MoreRecentFlowAbortCause(com.cloudbees.plugins.flow.FlowRun newer,
                                String block)
Construct a new MoreRecentFlowAbortCause to specify the reason for the abort was due to the fact that a more recent FlowRun was attempting to enter the same block.

Parameters:
newer - the FlowRun that is later than ours that was also attempting to enter the block
block - the block that was attempted to enter
Method Detail

getShortDescription

public String getShortDescription()
Specified by:
getShortDescription in class jenkins.model.CauseOfInterruption


Copyright © 2013-2014. All Rights Reserved.