Package jenkins.advancedqueue.sorter
Class AdvancedQueueSorter
- java.lang.Object
-
- hudson.model.queue.QueueSorter
-
- jenkins.advancedqueue.sorter.AdvancedQueueSorter
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class AdvancedQueueSorter extends QueueSorter
- Since:
- 2.0
- Author:
- Magnus Sandberg
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.model.queue.QueueSorter
DEFAULT_BLOCKED_ITEM_COMPARATOR
-
-
Constructor Summary
Constructors Constructor Description AdvancedQueueSorter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AdvancedQueueSorter
get()
static void
init()
void
onLeft(Queue.LeftItem li)
void
onNewItem(Queue.Item item)
void
sortBlockedItems(List<Queue.BlockedItem> blockedItems)
void
sortBuildableItems(List<Queue.BuildableItem> items)
void
sortNotWaitingItems(List<? extends Queue.NotWaitingItem> items)
-
Methods inherited from class hudson.model.queue.QueueSorter
all, installDefaultQueueSorter
-
-
-
-
Method Detail
-
init
public static void init()
-
sortNotWaitingItems
public void sortNotWaitingItems(List<? extends Queue.NotWaitingItem> items)
-
sortBuildableItems
public void sortBuildableItems(List<Queue.BuildableItem> items)
- Specified by:
sortBuildableItems
in classQueueSorter
-
sortBlockedItems
public void sortBlockedItems(List<Queue.BlockedItem> blockedItems)
- Overrides:
sortBlockedItems
in classQueueSorter
-
onNewItem
public void onNewItem(@NonNull Queue.Item item)
-
onLeft
public void onLeft(@NonNull Queue.LeftItem li)
-
get
public static AdvancedQueueSorter get()
-
-