Package | Description |
---|---|
hudson.model |
Core object model that are bound to URLs via stapler, rooted at Hudson.
|
hudson.model.queue |
Modifier and Type | Method and Description |
---|---|
Queue.WaitingItem |
Queue.schedule(AbstractProject p)
Schedule a new build for this project.
|
Queue.WaitingItem |
Queue.schedule(Queue.Task p,
int quietPeriod) |
Queue.WaitingItem |
Queue.schedule(Queue.Task p,
int quietPeriod,
Action... actions)
Convenience wrapper method around
Queue.schedule(Task, int, List) |
Queue.WaitingItem |
Queue.schedule(Queue.Task p,
int quietPeriod,
List<Action> actions)
Deprecated.
as of 1.521
Use
Queue.schedule2(Task, int, List) |
Modifier and Type | Method and Description |
---|---|
int |
Queue.WaitingItem.compareTo(Queue.WaitingItem that) |
Constructor and Description |
---|
BlockedItem(Queue.WaitingItem wi) |
BuildableItem(Queue.WaitingItem wi) |
NotWaitingItem(Queue.WaitingItem wi) |
Modifier and Type | Method and Description |
---|---|
Queue.WaitingItem |
ScheduleResult.getCreateItem()
If
ScheduleResult.isCreated() returns true, then this method returns
the newly created item, which is always of the type Queue.WaitingItem . |
Queue.WaitingItem |
ScheduleResult.Created.getCreateItem() |
Modifier and Type | Method and Description |
---|---|
static ScheduleResult.Created |
ScheduleResult.created(Queue.WaitingItem i) |
void |
QueueListener.onEnterWaiting(Queue.WaitingItem wi)
When a task is submitted to the queue, it first gets to the waiting phase,
where it spends until the quiet period runs out and the item becomes executable.
|
void |
QueueListener.onLeaveWaiting(Queue.WaitingItem wi)
An item leaves the waiting phase when the current time of the system is past its
due date.
|
Copyright © 2016. All rights reserved.