public class BuildHistoryWidget<T> extends HistoryWidget<Queue.Task,T>
This widget enhances HistoryWidget
by groking the notion
that HistoryWidget.owner
can be in the queue toward the next build.
HistoryWidget.Adapter<T>
ExtensionPoint.LegacyInstancesAreScopedToHudson
adapter, baseList, baseUrl, owner
Constructor and Description |
---|
BuildHistoryWidget(Queue.Task owner,
Iterable<T> baseList,
HistoryWidget.Adapter<? super T> adapter) |
Modifier and Type | Method and Description |
---|---|
HistoryPageFilter |
getHistoryPageFilter()
Get a
HistoryPageFilter for rendering a page of queue items. |
Queue.Item |
getQueuedItem()
Returns the first queue item if the owner is scheduled for execution in the queue.
|
List<Queue.Item> |
getQueuedItems()
Returns the queue item if the owner is scheduled for execution in the queue, in REVERSE ORDER
|
doAjax, getDisplayName, getFirstTransientBuildKey, getNextBuildNumberToFetch, getRenderList, getUrlName, isTrimmed, newPageFilter, setNextBuildNumberToFetch, setTrimmed, updateFirstTransientBuildKey
public BuildHistoryWidget(Queue.Task owner, Iterable<T> baseList, HistoryWidget.Adapter<? super T> adapter)
owner
- The parent model object that owns this widget.public Queue.Item getQueuedItem()
public List<Queue.Item> getQueuedItems()
public HistoryPageFilter getHistoryPageFilter()
HistoryWidget
HistoryPageFilter
for rendering a page of queue items.getHistoryPageFilter
in class HistoryWidget<Queue.Task,T>
Copyright © 2004–2021. All rights reserved.