Package | Description |
---|---|
hudson.model |
Core object model that are bound to URLs via stapler, rooted at Hudson.
|
hudson.model.queue | |
hudson.slaves |
Code related to slaves.
|
hudson.widgets | |
jenkins.model | |
jenkins.model.lazy | |
jenkins.security |
Modifier and Type | Interface and Description |
---|---|
interface |
BuildableItem
Item that can be "built", for
whatever meaning of "build". |
interface |
BuildableItemWithBuildWrappers
AbstractProject that has associated BuildWrapper s. |
static interface |
Queue.FlyweightTask
Marks
Queue.Task s that do not consume Executor . |
static interface |
Queue.NonBlockingTask
Marks
Queue.Task s that are not affected by the Jenkins.isQuietingDown() quieting down},
because these tasks keep other tasks executing. |
static interface |
Queue.TransientTask
Marks
Queue.Task s that are not persisted. |
interface |
SCMedItem
Deprecated.
Implement
SCMTriggerItem instead. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractProject<P extends AbstractProject<P,R>,R extends AbstractBuild<P,R>>
Base implementation of
Job s that build software. |
class |
FreeStyleProject
Free-style software project.
|
class |
Project<P extends Project<P,B>,B extends Build<P,B>>
Buildable software project.
|
Modifier and Type | Field and Description |
---|---|
Queue.Task |
Queue.Item.task
Project to be built.
|
Modifier and Type | Method and Description |
---|---|
Queue.Task |
AbstractProject.getOwnerTask() |
Modifier and Type | Method and Description |
---|---|
Set<Queue.Task> |
Queue.getUnblockedTasks()
Works just like
Queue.getUnblockedItems() but return tasks. |
Modifier and Type | Method and Description |
---|---|
boolean |
Queue.add(Queue.Task p,
int quietPeriod)
Deprecated.
as of 1.311
Use
Queue.schedule(Task, int) |
boolean |
Queue.add(Queue.Task p,
int quietPeriod,
Action... actions)
Deprecated.
as of 1.311
Use
Queue.schedule(Task, int, Action...) |
boolean |
Queue.cancel(Queue.Task p)
Cancels the item in the queue.
|
CauseOfBlockage |
Node.canTake(Queue.Task task)
Deprecated.
as of 1.413
Use
Node.canTake(Queue.BuildableItem) |
boolean |
Queue.contains(Queue.Task t)
Returns true if this queue contains the said project.
|
void |
CauseAction.foldIntoExisting(Queue.Item item,
Queue.Task owner,
List<Action> otherActions) |
Queue.Item |
Queue.getItem(Queue.Task t)
Gets the information about the queue item for the given project.
|
List<Queue.Item> |
Queue.getItems(Queue.Task t)
Gets the information about the queue item for the given project.
|
static boolean |
Queue.ifBlockedByHudsonShutdown(Queue.Task task)
Deprecated.
Use
Queue.isBlockedByShutdown(hudson.model.Queue.Task) instead. |
static boolean |
Queue.isBlockedByShutdown(Queue.Task task)
Checks whether a task should not be scheduled because
Jenkins.isQuietingDown() . |
boolean |
Queue.isPending(Queue.Task t)
Is the given task currently pending execution?
|
abstract MappingWorksheet.Mapping |
LoadBalancer.map(Queue.Task task,
MappingWorksheet worksheet)
Chooses the executor(s) to carry out the build for the given task.
|
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) |
ScheduleResult |
Queue.schedule2(Queue.Task p,
int quietPeriod,
Action... actions)
Convenience wrapper method around
Queue.schedule2(Task, int, List) |
ScheduleResult |
Queue.schedule2(Queue.Task p,
int quietPeriod,
List<Action> actions)
Schedules an execution of a task.
|
abstract boolean |
Queue.QueueDecisionHandler.shouldSchedule(Queue.Task p,
List<Action> actions)
Returns whether the new item should be scheduled.
|
void |
ExecutorListener.taskAccepted(Executor executor,
Queue.Task task)
Called whenever a task is accepted by an executor.
|
void |
Computer.taskAccepted(Executor executor,
Queue.Task task)
Called whenever a task is accepted by an executor.
|
void |
ExecutorListener.taskCompleted(Executor executor,
Queue.Task task,
long durationMS)
Called whenever a task is completed without any problems by an executor.
|
void |
Computer.taskCompleted(Executor executor,
Queue.Task task,
long durationMS)
Called whenever a task is completed without any problems by an executor.
|
void |
ExecutorListener.taskCompletedWithProblems(Executor executor,
Queue.Task task,
long durationMS,
Throwable problems)
Called whenever a task is completed with some problems by an executor.
|
void |
Computer.taskCompletedWithProblems(Executor executor,
Queue.Task task,
long durationMS,
Throwable problems)
Called whenever a task is completed with some problems by an executor.
|
Constructor and Description |
---|
Item(Queue.Task task,
List<Action> actions,
long id,
FutureImpl future) |
Item(Queue.Task task,
List<Action> actions,
long id,
FutureImpl future,
long inQueueSince) |
StubTask(Queue.Task base) |
WaitingItem(Calendar timestamp,
Queue.Task project,
List<Action> actions) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractQueueTask
Abstract base class for
Queue.Task to protect plugins
from new additions to the interface. |
class |
QueueTaskFilter
Base class for defining filter
Queue.Task . |
Modifier and Type | Field and Description |
---|---|
Queue.Task |
WorkUnitContext.task |
Modifier and Type | Method and Description |
---|---|
Queue.Task |
AbstractQueueTask.getOwnerTask() |
Queue.Task |
QueueTaskFilter.getOwnerTask() |
Queue.Task |
SubTask.getOwnerTask()
Gets the
Queue.Task that this subtask belongs to. |
static Queue.Task |
Tasks.getOwnerTaskOf(SubTask t) |
Modifier and Type | Method and Description |
---|---|
CauseOfBlockage |
QueueTaskDispatcher.canTake(Node node,
Queue.Task task)
Deprecated.
since 1.413
Use
QueueTaskDispatcher.canTake(Node, Queue.BuildableItem) |
void |
FoldableAction.foldIntoExisting(Queue.Item item,
Queue.Task owner,
List<Action> otherActions)
Notifies that the
Queue.Task that "owns" this action (that is, the task for which this action is submitted)
is considered as a duplicate. |
static org.acegisecurity.Authentication |
Tasks.getAuthenticationOf(Queue.Task t)
Finds what authentication a task is likely to be run under when scheduled.
|
static org.acegisecurity.Authentication |
Tasks.getDefaultAuthenticationOf(Queue.Task t)
Helper method to safely invoke
getDefaultAuthentication() on classes that may come
from plugins compiled against an earlier version of Jenkins. |
static org.acegisecurity.Authentication |
Tasks.getDefaultAuthenticationOf(Queue.Task t,
Queue.Item item)
Helper method to safely invoke
Task#getDefaultAuthentication(Item) on classes that may come
from plugins compiled against an earlier version of Jenkins. |
static Collection<? extends SubTask> |
Tasks.getSubTasksOf(Queue.Task task) |
Constructor and Description |
---|
FutureImpl(Queue.Task task) |
QueueTaskFilter(Queue.Task base) |
Modifier and Type | Method and Description |
---|---|
CauseOfBlockage |
NodeProperty.canTake(Queue.Task task)
Deprecated.
as of 1.413
Use
NodeProperty.canTake(Queue.BuildableItem) |
void |
SlaveComputer.taskAccepted(Executor executor,
Queue.Task task)
Called whenever a task is accepted by an executor.
|
void |
SlaveComputer.taskCompleted(Executor executor,
Queue.Task task,
long durationMS)
Called whenever a task is completed without any problems by an executor.
|
void |
SlaveComputer.taskCompletedWithProblems(Executor executor,
Queue.Task task,
long durationMS,
Throwable problems)
Called whenever a task is completed with some problems by an executor.
|
Constructor and Description |
---|
BuildHistoryWidget(Queue.Task owner,
Iterable<T> baseList,
HistoryWidget.Adapter<? super T> adapter) |
Modifier and Type | Class and Description |
---|---|
class |
ParameterizedJobMixIn<JobT extends Job<JobT,RunT> & ParameterizedJobMixIn.ParameterizedJob & Queue.Task,RunT extends Run<JobT,RunT> & Queue.Executable>
Allows a
Job to make use of ParametersDefinitionProperty and be scheduled in various ways. |
Modifier and Type | Interface and Description |
---|---|
static interface |
ParameterizedJobMixIn.ParameterizedJob
Marker for job using this mixin.
|
Modifier and Type | Class and Description |
---|---|
class |
LazyBuildMixIn<JobT extends Job<JobT,RunT> & Queue.Task & LazyBuildMixIn.LazyLoadingJob<JobT,RunT>,RunT extends Run<JobT,RunT> & LazyBuildMixIn.LazyLoadingRun<JobT,RunT>>
|
static interface |
LazyBuildMixIn.LazyLoadingJob<JobT extends Job<JobT,RunT> & Queue.Task & LazyBuildMixIn.LazyLoadingJob<JobT,RunT>,RunT extends Run<JobT,RunT> & LazyBuildMixIn.LazyLoadingRun<JobT,RunT>>
Marker for a
Job which uses this mixin. |
static interface |
LazyBuildMixIn.LazyLoadingRun<JobT extends Job<JobT,RunT> & Queue.Task & LazyBuildMixIn.LazyLoadingJob<JobT,RunT>,RunT extends Run<JobT,RunT> & LazyBuildMixIn.LazyLoadingRun<JobT,RunT>> |
static class |
LazyBuildMixIn.RunMixIn<JobT extends Job<JobT,RunT> & Queue.Task & LazyBuildMixIn.LazyLoadingJob<JobT,RunT>,RunT extends Run<JobT,RunT> & LazyBuildMixIn.LazyLoadingRun<JobT,RunT>>
Accompanying helper for the run type.
|
Modifier and Type | Method and Description |
---|---|
org.acegisecurity.Authentication |
QueueItemAuthenticator.authenticate(Queue.Task task)
Determines the identity in which the
Queue.Executable will run as. |
Copyright © 2016. All rights reserved.