org.jenkinsci.plugins.buildflow.concurrent.extension
Class MoreRecentFlowAbortCause
java.lang.Object
jenkins.model.CauseOfInterruption
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 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. |
| 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 |
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 blockblock - the block that was attempted to enter
getShortDescription
public String getShortDescription()
- Specified by:
getShortDescription in class jenkins.model.CauseOfInterruption
Copyright © 2013-2014. All Rights Reserved.