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 classAbstractProject.BecauseOfBuildInProgressDeprecated.useBlockedBecauseOfBuildInProgressinstead.static classAbstractProject.BecauseOfDownstreamBuildInProgressBecause the downstream build is in progress, and we are configured to wait for that.static classAbstractProject.BecauseOfUpstreamBuildInProgressBecause 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 CauseOfBlockageNode. canTake(Queue.BuildableItem item)Called by theQueueto determine whether or not this node can take the given task.CauseOfBlockageNode. canTake(Queue.Task task)Deprecated.as of 1.413 UseNode.canTake(Queue.BuildableItem)CauseOfBlockageAbstractProject. getCauseOfBlockage()If the execution of this task should be blocked for temporary reasons, this method returns a non-null object explaining why.CauseOfBlockageQueue.BlockedItem. getCauseOfBlockage()CauseOfBlockageQueue.BuildableItem. getCauseOfBlockage()abstract CauseOfBlockageQueue.Item. getCauseOfBlockage()Gets an object that describes why this item is in the queue.CauseOfBlockageQueue.JobOffer. getCauseOfBlockage(Queue.BuildableItem item)Checks whether theExecutorrepresented by this object is capable of executing the given task.CauseOfBlockageQueue.LeftItem. getCauseOfBlockage()default CauseOfBlockageQueue.Task. getCauseOfBlockage()If the execution of this task should be blocked for temporary reasons, this method returns a non-null object explaining why.CauseOfBlockageQueue.WaitingItem. getCauseOfBlockage() -
Uses of CauseOfBlockage in hudson.model.queue
Subclasses of CauseOfBlockage in hudson.model.queue Modifier and Type Class Description static classCauseOfBlockage.BecauseLabelIsBusyBuild is blocked because everyone that matches the specified label is fully busystatic classCauseOfBlockage.BecauseLabelIsOfflineBuild is blocked because all the nodes that match a given label is offline.static classCauseOfBlockage.BecauseNodeIsBusyBuild is blocked because a node is fully busystatic classCauseOfBlockage.BecauseNodeIsNotAcceptingTasksBuild is blocked because a node (or its retention strategy) is not accepting tasks.static classCauseOfBlockage.BecauseNodeIsOfflineBuild is blocked because a node is offline.Methods in hudson.model.queue that return CauseOfBlockage Modifier and Type Method Description CauseOfBlockageQueueTaskDispatcher. canRun(Queue.Item item)Called wheneverQueueis considering ifQueue.Itemis 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.CauseOfBlockageQueueTaskDispatcher. canTake(Node node, Queue.BuildableItem item)Called whenQueueis deciding where to execute the given task.CauseOfBlockageQueueTaskDispatcher. canTake(Node node, Queue.Task task)Deprecated.since 1.413 UseQueueTaskDispatcher.canTake(Node, Queue.BuildableItem)static CauseOfBlockageCauseOfBlockage. createNeedsMoreExecutor(org.jvnet.localizer.Localizable l)static CauseOfBlockageCauseOfBlockage. fromMessage(org.jvnet.localizer.Localizable l)Obtains a simple implementation backed byLocalizable.CauseOfBlockageQueueTaskFilter. getCauseOfBlockage() -
Uses of CauseOfBlockage in hudson.slaves
Methods in hudson.slaves that return CauseOfBlockage Modifier and Type Method Description CauseOfBlockageCloudProvisioningListener. canProvision(Cloud cloud, Label label, int numExecutors)Deprecated.CauseOfBlockageCloudProvisioningListener. canProvision(Cloud cloud, Cloud.CloudState state, int numExecutors)Allows extensions to prevent a cloud from provisioning.CauseOfBlockageNodeProperty. canTake(Queue.BuildableItem item)Called by theNodeto help determine whether or not it should take the given task.CauseOfBlockageNodeProperty. 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 classBlockedBecauseOfBuildInProgressIndicates 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 classCompositeCauseOfBlockageRepresents the fact that there was at least oneQueue.JobOfferwhich rejected a task.Fields in jenkins.model.queue with type parameters of type CauseOfBlockage Modifier and Type Field Description Map<String,CauseOfBlockage>CompositeCauseOfBlockage. uniqueReasonsConstructor parameters in jenkins.model.queue with type arguments of type CauseOfBlockage Constructor Description CompositeCauseOfBlockage(List<CauseOfBlockage> delegates)
-