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 |
---|---|
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, setNextBuildNumberToFetch, setTrimmed
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()
Copyright © 2014. All rights reserved.