Package jenkins.model.queue
Class CompositeCauseOfBlockage
- java.lang.Object
-
- hudson.model.queue.CauseOfBlockage
-
- jenkins.model.queue.CompositeCauseOfBlockage
-
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class CompositeCauseOfBlockage extends CauseOfBlockage
Represents the fact that there was at least oneQueue.JobOffer
which rejected a task.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.queue.CauseOfBlockage
CauseOfBlockage.BecauseLabelIsBusy, CauseOfBlockage.BecauseLabelIsOffline, CauseOfBlockage.BecauseNodeIsBusy, CauseOfBlockage.BecauseNodeIsNotAcceptingTasks, CauseOfBlockage.BecauseNodeIsOffline
-
-
Field Summary
Fields Modifier and Type Field Description Map<String,CauseOfBlockage>
uniqueReasons
-
Constructor Summary
Constructors Constructor Description CompositeCauseOfBlockage(List<CauseOfBlockage> delegates)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getShortDescription()
Human readable description of why the build is blocked.void
print(TaskListener listener)
Report a line to the listener about this cause.-
Methods inherited from class hudson.model.queue.CauseOfBlockage
createNeedsMoreExecutor, fromMessage, toString
-
-
-
-
Field Detail
-
uniqueReasons
public final Map<String,CauseOfBlockage> uniqueReasons
-
-
Constructor Detail
-
CompositeCauseOfBlockage
public CompositeCauseOfBlockage(List<CauseOfBlockage> delegates)
-
-
Method Detail
-
getShortDescription
public String getShortDescription()
Description copied from class:CauseOfBlockage
Human readable description of why the build is blocked.- Specified by:
getShortDescription
in classCauseOfBlockage
-
print
public void print(TaskListener listener)
Description copied from class:CauseOfBlockage
Report a line to the listener about this cause.- Overrides:
print
in classCauseOfBlockage
-
-