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 SummaryFields
- 
Method SummaryModifier 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 class- MappingWorksheet.ExecutorSlot
 
- 
getExecutor- Specified by:
- getExecutorin class- MappingWorksheet.ExecutorSlot
 
- 
canTakeDeprecated.discards information; prefergetCauseOfBlockage(hudson.model.Queue.BuildableItem)
- 
getCauseOfBlockageChecks 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
 
- 
isAvailablepublic boolean isAvailable()Is this executor ready to accept some tasks?- Specified by:
- isAvailablein class- MappingWorksheet.ExecutorSlot
 
- 
getNode
- 
isNotExclusivepublic boolean isNotExclusive()
- 
toString
 
- 
getCauseOfBlockage(hudson.model.Queue.BuildableItem)