Package | Description |
---|---|
hudson | |
hudson.cli |
Server-side CLI commands for Hudson.
|
hudson.cli.handlers |
OptionHandler implementations for Hudson. |
hudson.model |
Core object model that are bound to URLs via stapler, rooted at
Hudson . |
hudson.model.listeners |
Listener interfaces for various events that occur inside the server.
|
hudson.model.queue | |
hudson.scm |
Hudson's interface with source code management systems.
|
hudson.security |
Security-related code.
|
hudson.tasks | |
hudson.triggers |
Built-in
Trigger s that run periodically to kick a new build. |
hudson.util |
Other miscellaneous utility code
|
jenkins.model | |
jenkins.scm | |
jenkins.tasks | |
jenkins.triggers |
Modifier and Type | Method and Description |
---|---|
abstract void |
FileSystemProvisioner.discardWorkspace(AbstractProject<?,?> project,
FilePath ws)
Deprecated.
|
void |
FileSystemProvisioner.Default.discardWorkspace(AbstractProject<?,?> project,
FilePath ws) |
static List<Descriptor<Builder>> |
Functions.getBuilderDescriptors(AbstractProject<?,?> project) |
static List<Descriptor<BuildWrapper>> |
Functions.getBuildWrapperDescriptors(AbstractProject<?,?> project) |
static List<Descriptor<Publisher>> |
Functions.getPublisherDescriptors(AbstractProject<?,?> project) |
static List<SCMDescriptor<?>> |
Functions.getSCMDescriptors(AbstractProject<?,?> project) |
void |
DependencyRunner.ProjectRunnable.run(AbstractProject p) |
Modifier and Type | Method and Description |
---|---|
static String |
Functions.getProjectListString(List<AbstractProject> projects) |
Modifier and Type | Field and Description |
---|---|
AbstractProject<?,?> |
AbstractBuildRangeCommand.job
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected Class<AbstractProject> |
AbstractProjectOptionHandler.type() |
Constructor and Description |
---|
AbstractProjectOptionHandler(org.kohsuke.args4j.CmdLineParser parser,
org.kohsuke.args4j.OptionDef option,
org.kohsuke.args4j.spi.Setter<AbstractProject> setter) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractBuild<P extends AbstractProject<P,R>,R extends AbstractBuild<P,R>>
Base implementation of
Run s that build software. |
class |
AbstractProject<P extends AbstractProject<P,R>,R extends AbstractBuild<P,R>>
Base implementation of
Job s that build software. |
Modifier and Type | Class and Description |
---|---|
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 |
---|---|
AbstractProject |
AbstractBuild.DependencyChange.project
The dependency project.
|
AbstractProject<?,?> |
AbstractProject.BecauseOfDownstreamBuildInProgress.up |
AbstractProject<?,?> |
AbstractProject.BecauseOfUpstreamBuildInProgress.up |
Modifier and Type | Field and Description |
---|---|
static AlternativeUiTextProvider.Message<AbstractProject> |
AbstractProject.BUILD_NOW_TEXT
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
AbstractProject<?,?> |
SCMedItem.asProject()
Deprecated.
SCMedItem needs to be an instance of
AbstractProject . |
AbstractProject<?,?> |
Project.asProject() |
AbstractProject<?,?> |
BuildableItemWithBuildWrappers.asProject()
BuildableItemWithBuildWrappers needs to be an instance of
AbstractProject . |
static AbstractProject |
AbstractProject.findNearest(String name)
Finds a
AbstractProject that has the name closest to the given name. |
static AbstractProject |
AbstractProject.findNearest(String name,
ItemGroup context)
Finds a
AbstractProject whose name (when referenced from the specified context) is closest to the given name. |
AbstractProject |
AbstractProject.getBuildingDownstream()
Returns the project if any of the downstream project is either
building, waiting, pending or buildable.
|
AbstractProject |
AbstractProject.getBuildingUpstream()
Returns the project if any of the upstream project is either
building or is in the queue.
|
AbstractProject |
DependencyGraph.Dependency.getDownstreamProject() |
AbstractProject<?,?> |
ParametersDefinitionProperty.getOwner()
Deprecated.
|
AbstractProject |
View.UserInfo.getProject()
Deprecated.
|
AbstractProject<?,?> |
ParametersDefinitionProperty.getProject()
Deprecated.
|
AbstractProject<?,?> |
AbstractProject.getRootProject()
Gets the nearest ancestor
TopLevelItem that's also an AbstractProject . |
AbstractProject |
DependencyGraph.Dependency.getUpstreamProject() |
static AbstractProject |
AbstractProject.resolveForCLI(String name)
Used for CLI binding.
|
Modifier and Type | Method and Description |
---|---|
List<AbstractProject> |
AbstractProject.getBuildTriggerUpstreamProjects()
Returns only those upstream projects that defines
BuildTrigger to this project. |
Map<AbstractProject,AbstractBuild.DependencyChange> |
AbstractBuild.getDependencyChanges(AbstractBuild from)
Gets the changes in the dependency between the given build and this build.
|
List<AbstractProject> |
DependencyGraph.getDownstream(AbstractProject p)
Gets all the immediate downstream projects (IOW forward edges) of the given project.
|
Map<AbstractProject,Fingerprint.RangeSet> |
AbstractBuild.getDownstreamBuilds()
Gets the downstream builds of this build, which are the builds of the
downstream projects that use artifacts of this build.
|
List<AbstractProject> |
AbstractProject.getDownstreamProjects()
Gets the other
AbstractProject s that should be built
when a build of this project is completed. |
List<AbstractProject> |
AbstractProject.getDownstreamProjectsForApi() |
Set<AbstractProject<?,?>> |
User.getProjects()
Gets all the
AbstractProject s that this user has committed to. |
List<AbstractProject> |
Label.getTiedJobs()
Returns projects that are tied on this node.
|
List<AbstractProject> |
Computer.getTiedJobs()
Returns projects that are tied on this node.
|
List<AbstractProject<?,?>> |
DependencyGraph.getTopologicallySorted()
Returns all the projects in the topological order of the dependency.
|
Set<AbstractProject> |
DependencyGraph.getTransitiveDownstream(AbstractProject src)
Gets all the direct and indirect downstream dependencies of the given project.
|
Set<AbstractProject> |
AbstractProject.getTransitiveDownstreamProjects()
Gets all the downstream projects including transitive downstream projects.
|
Set<AbstractProject> |
DependencyGraph.getTransitiveUpstream(AbstractProject src)
Gets all the direct and indirect upstream dependencies of the given project.
|
Map<AbstractProject,Integer> |
AbstractBuild.getTransitiveUpstreamBuilds()
Works like
AbstractBuild.getUpstreamBuilds() but also includes all the transitive
dependencies as well. |
Set<AbstractProject> |
AbstractProject.getTransitiveUpstreamProjects()
Gets all the upstream projects including transitive upstream projects.
|
List<AbstractProject> |
DependencyGraph.getUpstream(AbstractProject p)
Gets all the immediate upstream projects (IOW backward edges) of the given project.
|
Map<AbstractProject,Integer> |
AbstractBuild.getUpstreamBuilds()
Gets the upstream builds of this build, which are the builds of the
upstream projects whose artifacts feed into this build.
|
List<AbstractProject> |
AbstractProject.getUpstreamProjects() |
List<AbstractProject> |
AbstractProject.getUpstreamProjectsForApi() |
Modifier and Type | Method and Description |
---|---|
boolean |
Queue.add(AbstractProject p)
Deprecated.
as of 1.311
Use
Queue.schedule(AbstractProject) |
boolean |
Queue.add(AbstractProject p,
int quietPeriod)
Deprecated.
as of 1.311
Use
Queue.schedule(Task, int) |
void |
DependencyGraph.addDependency(AbstractProject upstream,
AbstractProject downstream)
Deprecated.
since 1.341; use
DependencyGraph.addDependency(Dependency) |
void |
DependencyGraph.addDependency(AbstractProject upstream,
AbstractProject downstream)
Deprecated.
since 1.341; use
DependencyGraph.addDependency(Dependency) |
void |
DependencyGraph.addDependency(AbstractProject upstream,
Collection<? extends AbstractProject> downstream)
Deprecated.
since 1.341
|
void |
DependencyGraph.addDependency(Collection<? extends AbstractProject> upstream,
AbstractProject downstream)
Deprecated.
since 1.341
|
void |
DependencyGraph.addDependencyDeclarers(AbstractProject upstream,
Collection<?> possibleDependecyDeclarers)
Lists up
DependencyDeclarer from the collection and let them builds dependencies. |
void |
WorkspaceListener.afterDelete(AbstractProject project)
Called after a workspace is deleted successfully.
|
abstract FormValidation |
AbstractProject.LabelValidator.check(AbstractProject<?,?> project,
Label label)
Deprecated.
Check the use of the label within the specified context.
|
static void |
BuildAuthorizationToken.checkPermission(AbstractProject<?,?> project,
BuildAuthorizationToken token,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Deprecated.
|
int |
DependencyGraph.compare(AbstractProject o1,
AbstractProject o2)
Compare two Projects based on the topological order defined by this Dependency Graph
|
int |
DependencyGraph.compare(AbstractProject o1,
AbstractProject o2)
Compare two Projects based on the topological order defined by this Dependency Graph
|
abstract Collection<? extends Action> |
TransientProjectActionFactory.createFor(AbstractProject target)
Creates actions for the given project.
|
FormValidation |
AbstractProject.AbstractProjectDescriptor.doCheckAssignedLabelString(AbstractProject<?,?> project,
String value) |
FormValidation |
AbstractProject.AbstractProjectDescriptor.doCheckLabel(AbstractProject<?,?> project,
String value) |
List<SCMCheckoutStrategyDescriptor> |
AbstractProject.AbstractProjectDescriptor.getApplicableSCMCheckoutStrategyDescriptors(AbstractProject p) |
List<AbstractProject> |
DependencyGraph.getDownstream(AbstractProject p)
Gets all the immediate downstream projects (IOW forward edges) of the given project.
|
Iterable<AbstractBuild<?,?>> |
AbstractBuild.getDownstreamBuilds(AbstractProject<?,?> that)
Works like
AbstractBuild.getDownstreamRelationship(AbstractProject) but returns
the actual build objects, in ascending order. |
List<DependencyGraph.Dependency> |
DependencyGraph.getDownstreamDependencies(AbstractProject p) |
Fingerprint.RangeSet |
AbstractBuild.getDownstreamRelationship(AbstractProject that)
Gets the dependency relationship from this build (as the source)
and that project (as the sink.)
|
Collection<Action> |
ParametersDefinitionProperty.getJobActions(AbstractProject<?,?> job)
Deprecated.
|
Action |
JobProperty.getProjectAction(AbstractProject<?,?> project) |
Collection<? extends Action> |
JobProperty.getProjectActions(AbstractProject<?,?> project) |
SortedMap<Integer,Fingerprint.RangeSet> |
AbstractProject.getRelationship(AbstractProject that)
Gets the dependency relationship map between this project (as the source)
and that project (as the sink.)
|
Set<AbstractProject> |
DependencyGraph.getTransitiveDownstream(AbstractProject src)
Gets all the direct and indirect downstream dependencies of the given project.
|
Set<AbstractProject> |
DependencyGraph.getTransitiveUpstream(AbstractProject src)
Gets all the direct and indirect upstream dependencies of the given project.
|
List<AbstractProject> |
DependencyGraph.getUpstream(AbstractProject p)
Gets all the immediate upstream projects (IOW backward edges) of the given project.
|
List<DependencyGraph.Dependency> |
DependencyGraph.getUpstreamDependencies(AbstractProject p) |
int |
AbstractBuild.getUpstreamRelationship(AbstractProject that)
Gets the dependency relationship from this build (as the sink)
and that project (as the source.)
|
AbstractBuild<?,?> |
AbstractBuild.getUpstreamRelationshipBuild(AbstractProject<?,?> that)
Works like
AbstractBuild.getUpstreamRelationship(AbstractProject) but returns the
actual build object. |
boolean |
DependencyGraph.hasIndirectDependencies(AbstractProject src,
AbstractProject dst)
Returns true if a project has a non-direct dependency to another project.
|
boolean |
DependencyGraph.hasIndirectDependencies(AbstractProject src,
AbstractProject dst)
Returns true if a project has a non-direct dependency to another project.
|
Queue.WaitingItem |
Queue.schedule(AbstractProject p)
Schedule a new build for this project.
|
static FormValidation |
AbstractProject.AbstractProjectDescriptor.validateLabelExpression(String value,
AbstractProject<?,?> project)
Deprecated.
Use
LabelExpression.validate(String, Item) instead. |
Modifier and Type | Method and Description |
---|---|
void |
DependencyGraph.addDependency(AbstractProject upstream,
Collection<? extends AbstractProject> downstream)
Deprecated.
since 1.341
|
void |
DependencyGraph.addDependency(Collection<? extends AbstractProject> upstream,
AbstractProject downstream)
Deprecated.
since 1.341
|
Constructor and Description |
---|
BecauseOfDownstreamBuildInProgress(AbstractProject<?,?> up) |
BecauseOfUpstreamBuildInProgress(AbstractProject<?,?> up) |
Dependency(AbstractProject upstream,
AbstractProject downstream) |
Dependency(AbstractProject upstream,
AbstractProject downstream) |
DependencyChange(AbstractProject<?,?> project,
int fromId,
int toId) |
Modifier and Type | Method and Description |
---|---|
static void |
SCMPollListener.fireBeforePolling(AbstractProject<?,?> project,
TaskListener listener) |
static void |
SCMPollListener.firePollingFailed(AbstractProject<?,?> project,
TaskListener listener,
Throwable exception) |
static void |
SCMPollListener.firePollingSuccess(AbstractProject<?,?> project,
TaskListener listener,
PollingResult result) |
void |
SCMPollListener.onBeforePolling(AbstractProject<?,?> project,
TaskListener listener)
Called before the polling execution.
|
void |
SCMPollListener.onPollingFailed(AbstractProject<?,?> project,
TaskListener listener,
Throwable exception)
Called when the polling concluded with an error.
|
void |
SCMPollListener.onPollingSuccess(AbstractProject<?,?> project,
TaskListener listener,
PollingResult result)
Called when the polling successfully concluded.
|
Modifier and Type | Method and Description |
---|---|
Collection<? extends SubTask> |
SubTaskContributor.forProject(AbstractProject<?,?> p) |
Modifier and Type | Method and Description |
---|---|
static List<SCMDescriptor<?>> |
SCM._for(AbstractProject project)
Deprecated.
|
protected PollingResult |
SCM.compareRemoteRevisionWith(AbstractProject<?,?> project,
Launcher launcher,
FilePath workspace,
TaskListener listener,
SCMRevisionState baseline)
Deprecated.
|
boolean |
SCMDescriptor.isApplicable(AbstractProject project)
Deprecated.
|
static SCM |
SCMS.parseSCM(org.kohsuke.stapler.StaplerRequest req,
AbstractProject target)
Parses
SCM configuration from the submitted form. |
PollingResult |
SCM.poll(AbstractProject<?,?> project,
Launcher launcher,
FilePath workspace,
TaskListener listener,
SCMRevisionState baseline)
Convenience method for the caller to handle the backward compatibility between pre 1.345 SCMs.
|
boolean |
SCM.pollChanges(AbstractProject<?,?> project,
Launcher launcher,
FilePath workspace,
TaskListener listener)
Deprecated.
as of 1.345
Override
SCM.calcRevisionsFromBuild(AbstractBuild, Launcher, TaskListener) and
SCM.compareRemoteRevisionWith(AbstractProject, Launcher, FilePath, TaskListener, SCMRevisionState) for implementation.
The implementation is now separated in two pieces, one that computes the revision of the current workspace,
and the other that computes the revision of the remote repository.
Call SCM.poll(AbstractProject, Launcher, FilePath, TaskListener, SCMRevisionState) for use instead. |
boolean |
SCM.processWorkspaceBeforeDeletion(AbstractProject<?,?> project,
FilePath workspace,
Node node)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ACL |
AuthorizationStrategy.getACL(AbstractProject<?,?> project)
Deprecated.
since 1.277
Override
AuthorizationStrategy.getACL(Job) instead. |
Modifier and Type | Method and Description |
---|---|
List<AbstractProject> |
BuildTrigger.getChildProjects()
Deprecated.
as of 1.406
Use
BuildTrigger.getChildProjects(ItemGroup) |
List<AbstractProject> |
BuildTrigger.getChildProjects(AbstractProject owner)
Deprecated.
|
List<AbstractProject> |
BuildTrigger.getChildProjects(ItemGroup base)
Deprecated.
|
Map<AbstractProject,Integer> |
Fingerprinter.FingerprintAction.getDependencies()
Gets the dependency to other existing builds in a map.
|
Map<AbstractProject,Integer> |
Fingerprinter.FingerprintAction.getDependencies(boolean includeMissing)
Gets the dependency to other builds in a map.
|
Modifier and Type | Method and Description |
---|---|
void |
BuildTrigger.buildDependencyGraph(AbstractProject owner,
DependencyGraph graph) |
void |
Fingerprinter.buildDependencyGraph(AbstractProject owner,
DependencyGraph graph) |
FormValidation |
BuildTrigger.DescriptorImpl.doCheck(AbstractProject project,
String value)
Form validation method.
|
FormValidation |
Fingerprinter.DescriptorImpl.doCheck(AbstractProject project,
String value)
Deprecated.
|
FormValidation |
ArtifactArchiver.DescriptorImpl.doCheckArtifacts(AbstractProject project,
String value,
String caseSensitive)
Performs on-the-fly validation of the file mask wildcard, when the artifacts
textbox or the caseSensitive checkbox are modified
|
FormValidation |
Fingerprinter.DescriptorImpl.doCheckTargets(AbstractProject<?,?> project,
String value) |
List<Job<?,?>> |
BuildTrigger.getChildJobs(AbstractProject<?,?> owner) |
List<AbstractProject> |
BuildTrigger.getChildProjects(AbstractProject owner)
Deprecated.
|
static List<Descriptor<BuildWrapper>> |
BuildWrappers.getFor(AbstractProject<?,?> project)
List up all
BuildWrapperDescriptor s that are applicable for the given project. |
Action |
BuildWrapper.getProjectAction(AbstractProject job)
Deprecated.
Use
BuildWrapper.getProjectActions(AbstractProject) instead. |
Action |
BuildStep.getProjectAction(AbstractProject<?,?> project)
Deprecated.
as of 1.341.
Use
BuildStep.getProjectActions(AbstractProject) instead. |
Action |
BuildStepCompatibilityLayer.getProjectAction(AbstractProject<?,?> project)
Deprecated.
|
Collection<? extends Action> |
BuildWrapper.getProjectActions(AbstractProject job)
Action s to be displayed in the job page. |
Collection<? extends Action> |
BuildStep.getProjectActions(AbstractProject<?,?> project)
|
Collection<? extends Action> |
BuildStepCompatibilityLayer.getProjectActions(AbstractProject<?,?> project)
Deprecated.
|
boolean |
BuildTrigger.hasSame(AbstractProject owner,
Collection<? extends AbstractProject> projects)
Deprecated.
apparently unused
|
abstract boolean |
BuildWrapperDescriptor.isApplicable(AbstractProject<?,?> item)
Returns true if this task is applicable to the given project.
|
Modifier and Type | Method and Description |
---|---|
static <T extends BuildStep & Describable<T>> |
BuildStepDescriptor.filter(List<Descriptor<T>> base,
Class<? extends AbstractProject> type)
Filters a descriptor for
BuildStep s by using BuildStepDescriptor.isApplicable(Class) . |
boolean |
BuildTrigger.hasSame(AbstractProject owner,
Collection<? extends AbstractProject> projects)
Deprecated.
apparently unused
|
boolean |
BuildTrigger.hasSame(Collection<? extends AbstractProject> projects)
Deprecated.
as of 1.406
Use
BuildTrigger.hasSame(AbstractProject, Collection) |
boolean |
BatchFile.DescriptorImpl.isApplicable(Class<? extends AbstractProject> jobType) |
abstract boolean |
BuildStepDescriptor.isApplicable(Class<? extends AbstractProject> jobType)
Returns true if this task is applicable to the given project.
|
boolean |
Shell.DescriptorImpl.isApplicable(Class<? extends AbstractProject> jobType) |
boolean |
BuildTrigger.DescriptorImpl.isApplicable(Class<? extends AbstractProject> jobType) |
boolean |
Fingerprinter.DescriptorImpl.isApplicable(Class<? extends AbstractProject> jobType) |
boolean |
Maven.DescriptorImpl.isApplicable(Class<? extends AbstractProject> jobType) |
boolean |
ArtifactArchiver.DescriptorImpl.isApplicable(Class<? extends AbstractProject> jobType) |
boolean |
BuildTrigger.DescriptorImpl.showEvenIfUnstableOption(Class<? extends AbstractProject<?,?>> jobType) |
Constructor and Description |
---|
BuildTrigger(Collection<? extends AbstractProject> childProjects,
Result threshold) |
BuildTrigger(List<AbstractProject> childProjects,
Result threshold) |
Modifier and Type | Method and Description |
---|---|
AbstractProject<?,?> |
SCMTrigger.SCMAction.getOwner() |
Modifier and Type | Method and Description |
---|---|
void |
DescribableList.buildDependencyGraph(AbstractProject owner,
DependencyGraph graph)
Picks up
DependencyDeclarer s and allow it to build dependencies. |
protected FilePath |
FormFieldValidator.WorkspaceFileMask.getBaseDirectory(AbstractProject<?,?> p)
Deprecated.
The base directory from which the path name is resolved.
|
protected FilePath |
FormFieldValidator.WorkspaceFilePath.getBaseDirectory(AbstractProject<?,?> p)
Deprecated.
The base directory from which the path name is resolved.
|
Modifier and Type | Method and Description |
---|---|
<T extends AbstractProject<?,?>> |
Jenkins.copy(T src,
String name) |
Modifier and Type | Method and Description |
---|---|
void |
DependencyDeclarer.buildDependencyGraph(AbstractProject owner,
DependencyGraph graph)
Invoked from
buildDependencyGraph(DependencyGraph) . |
Modifier and Type | Method and Description |
---|---|
static List<SCMCheckoutStrategyDescriptor> |
SCMCheckoutStrategyDescriptor._for(AbstractProject p) |
boolean |
DefaultSCMCheckoutStrategyImpl.DescriptorImpl.isApplicable(AbstractProject project) |
abstract boolean |
SCMCheckoutStrategyDescriptor.isApplicable(AbstractProject project)
Allows
SCMCheckoutStrategyDescriptor to target specific kind of projects,
such as matrix projects. |
Modifier and Type | Method and Description |
---|---|
Collection<? extends Action> |
SimpleBuildWrapper.getProjectActions(AbstractProject job) |
Modifier and Type | Method and Description |
---|---|
void |
ReverseBuildTrigger.buildDependencyGraph(AbstractProject downstream,
DependencyGraph graph) |
Copyright © 2004–2022. All rights reserved.