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 Summary
Nested classes/interfaces inherited from class hudson.model.queue.CauseOfBlockage
CauseOfBlockage.BecauseLabelIsBusy, CauseOfBlockage.BecauseLabelIsOffline, CauseOfBlockage.BecauseNodeIsBusy, CauseOfBlockage.BecauseNodeIsNotAcceptingTasks, CauseOfBlockage.BecauseNodeIsOffline - 
Constructor Summary
ConstructorsConstructorDescriptionBlockedBecauseOfBuildInProgress(Run<?, ?> build) Creates a cause for the specified build. - 
Method Summary
Modifier and TypeMethodDescriptionHuman readable description of why the build is blocked.Methods inherited from class hudson.model.queue.CauseOfBlockage
createNeedsMoreExecutor, fromMessage, print, toString 
- 
Constructor Details
- 
BlockedBecauseOfBuildInProgress
Creates a cause for the specified build.- Parameters:
 build- Build, which is already in progress
 
 - 
 - 
Method Details
- 
getShortDescription
Description copied from class:CauseOfBlockageHuman readable description of why the build is blocked.- Specified by:
 getShortDescriptionin classCauseOfBlockage
 
 -