Uses of Class
hudson.model.queue.CauseOfBlockage
-
Packages that use CauseOfBlockage Package Description hudson.model Core object model that are bound to URLs via stapler, rooted atJenkins
.hudson.model.queue hudson.slaves Code related to agents.jenkins.model jenkins.model.queue -
-
Uses of CauseOfBlockage in hudson.model
Subclasses of CauseOfBlockage in hudson.model Modifier and Type Class Description static class
AbstractProject.BecauseOfBuildInProgress
Deprecated.useBlockedBecauseOfBuildInProgress
instead.static class
AbstractProject.BecauseOfDownstreamBuildInProgress
Because the downstream build is in progress, and we are configured to wait for that.static class
AbstractProject.BecauseOfUpstreamBuildInProgress
Because the upstream build is in progress, and we are configured to wait for that.Methods in hudson.model that return CauseOfBlockage Modifier and Type Method Description CauseOfBlockage
Node. canTake(Queue.BuildableItem item)
Called by theQueue
to determine whether or not this node can take the given task.CauseOfBlockage
Node. canTake(Queue.Task task)
Deprecated.as of 1.413 UseNode.canTake(Queue.BuildableItem)
CauseOfBlockage
AbstractProject. getCauseOfBlockage()
If the execution of this task should be blocked for temporary reasons, this method returns a non-null object explaining why.CauseOfBlockage
Queue.BlockedItem. getCauseOfBlockage()
CauseOfBlockage
Queue.BuildableItem. getCauseOfBlockage()
abstract CauseOfBlockage
Queue.Item. getCauseOfBlockage()
Gets an object that describes why this item is in the queue.CauseOfBlockage
Queue.JobOffer. getCauseOfBlockage(Queue.BuildableItem item)
Checks whether theExecutor
represented by this object is capable of executing the given task.CauseOfBlockage
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.CauseOfBlockage
Queue.WaitingItem. getCauseOfBlockage()
-
Uses of CauseOfBlockage in hudson.model.queue
Subclasses of CauseOfBlockage in hudson.model.queue Modifier and Type Class Description static class
CauseOfBlockage.BecauseLabelIsBusy
Build is blocked because everyone that matches the specified label is fully busystatic class
CauseOfBlockage.BecauseLabelIsOffline
Build is blocked because all the nodes that match a given label is offline.static class
CauseOfBlockage.BecauseNodeIsBusy
Build is blocked because a node is fully busystatic class
CauseOfBlockage.BecauseNodeIsNotAcceptingTasks
Build is blocked because a node (or its retention strategy) is not accepting tasks.static class
CauseOfBlockage.BecauseNodeIsOffline
Build is blocked because a node is offline.Methods in hudson.model.queue that return CauseOfBlockage Modifier and Type Method Description CauseOfBlockage
QueueTaskDispatcher. 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.CauseOfBlockage
QueueTaskDispatcher. canTake(Node node, Queue.BuildableItem item)
Called whenQueue
is deciding where to execute the given task.CauseOfBlockage
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
.CauseOfBlockage
QueueTaskFilter. getCauseOfBlockage()
-
Uses of CauseOfBlockage in hudson.slaves
Methods in hudson.slaves that return CauseOfBlockage Modifier and Type Method Description CauseOfBlockage
CloudProvisioningListener. canProvision(Cloud cloud, Label label, int numExecutors)
Deprecated.CauseOfBlockage
CloudProvisioningListener. canProvision(Cloud cloud, Cloud.CloudState state, int numExecutors)
Allows extensions to prevent a cloud from provisioning.CauseOfBlockage
NodeProperty. canTake(Queue.BuildableItem item)
Called by theNode
to help determine whether or not it should take the given task.CauseOfBlockage
NodeProperty. canTake(Queue.Task task)
Deprecated.as of 1.413 UseNodeProperty.canTake(Queue.BuildableItem)
-
Uses of CauseOfBlockage in jenkins.model
Subclasses of CauseOfBlockage in jenkins.model Modifier and Type Class Description class
BlockedBecauseOfBuildInProgress
Indicates that a new build is blocked because the previous build is already in progress. -
Uses of CauseOfBlockage in jenkins.model.queue
Subclasses of CauseOfBlockage in jenkins.model.queue Modifier and Type Class Description class
CompositeCauseOfBlockage
Represents the fact that there was at least oneQueue.JobOffer
which rejected a task.Fields in jenkins.model.queue with type parameters of type CauseOfBlockage Modifier and Type Field Description Map<String,CauseOfBlockage>
CompositeCauseOfBlockage. uniqueReasons
Constructor parameters in jenkins.model.queue with type arguments of type CauseOfBlockage Constructor Description CompositeCauseOfBlockage(List<CauseOfBlockage> delegates)
-