hudson.widgets
Class BuildHistoryWidget<T>
java.lang.Object
hudson.widgets.Widget
hudson.widgets.HistoryWidget<Queue.Task,T>
hudson.widgets.BuildHistoryWidget<T>
- All Implemented Interfaces:
- ExtensionPoint
public class BuildHistoryWidget<T>
- extends HistoryWidget<Queue.Task,T>
Displays the build history on the side panel.
This widget enhances HistoryWidget
by groking the notion
that HistoryWidget.owner
can be in the queue toward the next build.
- Author:
- Kohsuke Kawaguchi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BuildHistoryWidget
public BuildHistoryWidget(Queue.Task owner,
Iterable<T> baseList,
HistoryWidget.Adapter<? super T> adapter)
- Parameters:
owner
- The parent model object that owns this widget.
getQueuedItem
public Queue.Item getQueuedItem()
- Returns the first queue item if the owner is scheduled for execution in the queue.
getQueuedItems
public List<Queue.Item> getQueuedItems()
- Returns the queue item if the owner is scheduled for execution in the queue, in REVERSE ORDER
Copyright © 2004-2013. All Rights Reserved.