Package jenkins.model
Class BlockedBecauseOfBuildInProgress
java.lang.Object
hudson.model.queue.CauseOfBlockage
jenkins.model.BlockedBecauseOfBuildInProgress
- Direct Known Subclasses:
- AbstractProject.BecauseOfBuildInProgress
Indicates that a new build is blocked because the previous build is already in progress.
 Useful for implementing 
Queue.Task.getCauseOfBlockage() from a Job which supports Queue.Task.isConcurrentBuild().- Since:
- 1.624
- 
Nested Class SummaryNested classes/interfaces inherited from class hudson.model.queue.CauseOfBlockageCauseOfBlockage.BecauseLabelIsBusy, CauseOfBlockage.BecauseLabelIsOffline, CauseOfBlockage.BecauseNodeIsBusy, CauseOfBlockage.BecauseNodeIsNotAcceptingTasks, CauseOfBlockage.BecauseNodeIsOffline
- 
Constructor SummaryConstructorsConstructorDescriptionBlockedBecauseOfBuildInProgress(Run<?, ?> build) Creates a cause for the specified build.
- 
Method SummaryModifier and TypeMethodDescriptionHuman readable description of why the build is blocked.Methods inherited from class hudson.model.queue.CauseOfBlockagecreateNeedsMoreExecutor, fromMessage, isFatal, print, toString
- 
Constructor Details- 
BlockedBecauseOfBuildInProgressCreates a cause for the specified build.- Parameters:
- build- Build, which is already in progress
 
 
- 
- 
Method Details- 
getShortDescriptionDescription copied from class:CauseOfBlockageHuman readable description of why the build is blocked.- Specified by:
- getShortDescriptionin class- CauseOfBlockage
 
 
-