Uses of Class
hudson.model.queue.CauseOfBlockage
Package
Description
Core object model that are bound to URLs via stapler, rooted at
Jenkins
.Code related to agents.
-
Uses of CauseOfBlockage in hudson.model
Modifier and TypeClassDescriptionstatic class
Deprecated.static class
Because the downstream build is in progress, and we are configured to wait for that.static class
Because the upstream build is in progress, and we are configured to wait for that.Modifier and TypeMethodDescriptionNode.canTake
(Queue.BuildableItem item) Called by theQueue
to determine whether or not this node can take the given task.Node.canTake
(Queue.Task task) Deprecated.as of 1.413 UseNode.canTake(Queue.BuildableItem)
AbstractProject.getCauseOfBlockage()
If the execution of this task should be blocked for temporary reasons, this method returns a non-null object explaining why.Queue.BlockedItem.getCauseOfBlockage()
Queue.BuildableItem.getCauseOfBlockage()
abstract CauseOfBlockage
Queue.Item.getCauseOfBlockage()
Gets an object that describes why this item is in the queue.Queue.JobOffer.getCauseOfBlockage
(Queue.BuildableItem item) Checks whether theExecutor
represented by this object is capable of executing the given task.Queue.LeftItem.getCauseOfBlockage()
default CauseOfBlockage
Queue.Task.getCauseOfBlockage()
If the execution of this task should be blocked for temporary reasons, this method returns a non-null object explaining why.Queue.WaitingItem.getCauseOfBlockage()
-
Uses of CauseOfBlockage in hudson.model.queue
Modifier and TypeClassDescriptionstatic final class
Build is blocked because everyone that matches the specified label is fully busystatic final class
Build is blocked because all the nodes that match a given label is offline.static final class
Build is blocked because a node is fully busystatic final class
Build is blocked because a node (or its retention strategy) is not accepting tasks.static final class
Build is blocked because a node is offline.Modifier and TypeMethodDescriptionQueueTaskDispatcher.canRun
(Queue.Item item) Called wheneverQueue
is considering ifQueue.Item
is ready to execute immediately (which doesn't necessarily mean that it gets executed right away — it's still subject to executor availability), or if it should be considered blocked.QueueTaskDispatcher.canTake
(Node node, Queue.BuildableItem item) Called whenQueue
is deciding where to execute the given task.QueueTaskDispatcher.canTake
(Node node, Queue.Task task) Deprecated.since 1.413 UseQueueTaskDispatcher.canTake(Node, Queue.BuildableItem)
static CauseOfBlockage
CauseOfBlockage.createNeedsMoreExecutor
(org.jvnet.localizer.Localizable l) static CauseOfBlockage
CauseOfBlockage.fromMessage
(org.jvnet.localizer.Localizable l) Obtains a simple implementation backed byLocalizable
.QueueTaskFilter.getCauseOfBlockage()
-
Uses of CauseOfBlockage in hudson.slaves
Modifier and TypeMethodDescriptionCloudProvisioningListener.canProvision
(Cloud cloud, Label label, int numExecutors) Deprecated.CloudProvisioningListener.canProvision
(Cloud cloud, Cloud.CloudState state, int numExecutors) Allows extensions to prevent a cloud from provisioning.NodeProperty.canTake
(Queue.BuildableItem item) Called by theNode
to help determine whether or not it should take the given task.NodeProperty.canTake
(Queue.Task task) Deprecated.as of 1.413 UseNodeProperty.canTake(Queue.BuildableItem)
-
Uses of CauseOfBlockage in jenkins.model
Modifier and TypeClassDescriptionclass
Indicates that a new build is blocked because the previous build is already in progress. -
Uses of CauseOfBlockage in jenkins.model.queue
Modifier and TypeClassDescriptionclass
Represents the fact that there was at least oneQueue.JobOffer
which rejected a task.Modifier and TypeFieldDescriptionfinal Map<String,
CauseOfBlockage> CompositeCauseOfBlockage.uniqueReasons
BlockedBecauseOfBuildInProgress
instead.