public static class Queue.JobOffer extends MappingWorksheet.ExecutorSlot
Executor
.
This is a job offer from the queue to an executor.
For each idle executor, this gets created to allow the scheduling logic to assign a work. Once a work is assigned, the executor actually gets started to carry out the task in question.
Modifier and Type | Method and Description |
---|---|
boolean |
canTake(Queue.BuildableItem item)
Deprecated.
discards information; prefer
getCauseOfBlockage(hudson.model.Queue.BuildableItem) |
CauseOfBlockage |
getCauseOfBlockage(Queue.BuildableItem item)
Checks whether the
Executor represented by this object is capable of executing the given task. |
Executor |
getExecutor() |
Node |
getNode() |
boolean |
isAvailable()
Is this executor ready to accept some tasks?
|
boolean |
isNotExclusive() |
protected void |
set(WorkUnit p) |
String |
toString() |
public final Executor executor
protected void set(WorkUnit p)
set
in class MappingWorksheet.ExecutorSlot
public Executor getExecutor()
getExecutor
in class MappingWorksheet.ExecutorSlot
@Deprecated public boolean canTake(Queue.BuildableItem item)
getCauseOfBlockage(hudson.model.Queue.BuildableItem)
@CheckForNull public CauseOfBlockage getCauseOfBlockage(Queue.BuildableItem item)
Executor
represented by this object is capable of executing the given task.public boolean isAvailable()
isAvailable
in class MappingWorksheet.ExecutorSlot
@CheckForNull public Node getNode()
public boolean isNotExclusive()
Copyright © 2004–2021. All rights reserved.