Package hudson.model
Class Queue.JobOffer
java.lang.Object
hudson.model.queue.MappingWorksheet.ExecutorSlot
hudson.model.Queue.JobOffer
- Enclosing class:
- Queue
Data structure created for each idle
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.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleancanTake(Queue.BuildableItem item) Deprecated.Checks whether theExecutorrepresented by this object is capable of executing the given task.getNode()booleanIs this executor ready to accept some tasks?booleanprotected voidtoString()
-
Field Details
-
executor
-
-
Method Details
-
set
- Specified by:
setin classMappingWorksheet.ExecutorSlot
-
getExecutor
- Specified by:
getExecutorin classMappingWorksheet.ExecutorSlot
-
canTake
Deprecated.discards information; prefergetCauseOfBlockage(hudson.model.Queue.BuildableItem) -
getCauseOfBlockage
Checks whether theExecutorrepresented by this object is capable of executing the given task.- Returns:
- a reason why it cannot, or null if it could
- Since:
- 2.37
-
isAvailable
public boolean isAvailable()Is this executor ready to accept some tasks?- Specified by:
isAvailablein classMappingWorksheet.ExecutorSlot
-
getNode
-
isNotExclusive
public boolean isNotExclusive() -
toString
-
getCauseOfBlockage(hudson.model.Queue.BuildableItem)