Package hudson.model.queue
Class MappingWorksheet.WorkChunk
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- hudson.model.queue.MappingWorksheet.WorkChunk
-
- Enclosing class:
- MappingWorksheet
public class MappingWorksheet.WorkChunk extends AbstractList<E>
SubTask
s that need to run on the same node.
-
-
Field Summary
Fields Modifier and Type Field Description Label
assignedLabel
If this task needs to be run on a node with a particular label, return thatLabel
.int
index
MappingWorksheet.ExecutorChunk
lastBuiltOn
If the previous execution of this task run on a certain node and this task prefers to run on the same node, return that.-
Fields inherited from class java.util.AbstractList
modCount
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<MappingWorksheet.ExecutorChunk>
applicableExecutorChunks()
-
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
-
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
-
-
-
Field Detail
-
index
public final int index
-
assignedLabel
public final Label assignedLabel
If this task needs to be run on a node with a particular label, return thatLabel
. Otherwise null, indicating it can run on anywhere.
-
lastBuiltOn
public final MappingWorksheet.ExecutorChunk lastBuiltOn
If the previous execution of this task run on a certain node and this task prefers to run on the same node, return that. Otherwise null.
-
-
Method Detail
-
applicableExecutorChunks
public List<MappingWorksheet.ExecutorChunk> applicableExecutorChunks()
-
-