Package hudson.model.queue
Class CauseOfBlockage.BecauseNodeIsNotAcceptingTasks
- java.lang.Object
-
- hudson.model.queue.CauseOfBlockage
-
- hudson.model.queue.CauseOfBlockage.BecauseNodeIsNotAcceptingTasks
-
- Enclosing class:
- CauseOfBlockage
public static final class CauseOfBlockage.BecauseNodeIsNotAcceptingTasks extends CauseOfBlockage
Build is blocked because a node (or its retention strategy) is not accepting tasks.- Since:
- 2.37
-
-
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
Constructors Constructor Description BecauseNodeIsNotAcceptingTasks(Node node)
-
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
-
node
public final Node node
-
-
Constructor Detail
-
BecauseNodeIsNotAcceptingTasks
public BecauseNodeIsNotAcceptingTasks(Node node)
-
-
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
-
-