Uses of Class
hudson.model.AbstractProject
Packages that use AbstractProject
Package
Description
Server-side CLI commands for Hudson.
OptionHandler
implementations for Hudson.Core object model that are bound to URLs via stapler, rooted at
Jenkins
.Listener interfaces for various events that occur inside the server.
Jenkins's interface with source code management systems.
Security-related code.
Built-in
Trigger
s that run periodically to kick a new build.Other miscellaneous utility code
-
Uses of AbstractProject in hudson
Methods in hudson with parameters of type AbstractProjectModifier and TypeMethodDescriptionvoid
FileSystemProvisioner.Default.discardWorkspace
(AbstractProject<?, ?> project, FilePath ws) abstract void
FileSystemProvisioner.discardWorkspace
(AbstractProject<?, ?> project, FilePath ws) Deprecated.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) Method parameters in hudson with type arguments of type AbstractProjectModifier and TypeMethodDescriptionstatic String
Functions.getProjectListString
(List<AbstractProject> projects) -
Uses of AbstractProject in hudson.cli
Fields in hudson.cli declared as AbstractProject -
Uses of AbstractProject in hudson.cli.handlers
Methods in hudson.cli.handlers that return types with arguments of type AbstractProjectModifier and TypeMethodDescriptionprotected Class<AbstractProject>
AbstractProjectOptionHandler.type()
Constructor parameters in hudson.cli.handlers with type arguments of type AbstractProjectModifierConstructorDescriptionAbstractProjectOptionHandler
(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<AbstractProject> setter) -
Uses of AbstractProject in hudson.model
Classes in hudson.model with type parameters of type AbstractProjectModifier and TypeClassDescriptionclass
AbstractBuild<P extends AbstractProject<P,
R>, R extends AbstractBuild<P, R>> Base implementation ofRun
s that build software.class
AbstractProject<P extends AbstractProject<P,
R>, R extends AbstractBuild<P, R>> Base implementation ofJob
s that build software.Subclasses of AbstractProject in hudson.modelModifier and TypeClassDescriptionclass
Free-style software project.class
Buildable software project.Fields in hudson.model declared as AbstractProjectModifier and TypeFieldDescriptionfinal AbstractProject
AbstractBuild.DependencyChange.project
The dependency project.final AbstractProject<?,
?> AbstractProject.BecauseOfDownstreamBuildInProgress.up
final AbstractProject<?,
?> AbstractProject.BecauseOfUpstreamBuildInProgress.up
Fields in hudson.model with type parameters of type AbstractProjectModifier and TypeFieldDescriptionstatic final AlternativeUiTextProvider.Message<AbstractProject>
AbstractProject.BUILD_NOW_TEXT
Deprecated.Methods in hudson.model that return AbstractProjectModifier and TypeMethodDescriptionAbstractProject<?,
?> BuildableItemWithBuildWrappers.asProject()
BuildableItemWithBuildWrappers
needs to be an instance ofAbstractProject
.AbstractProject<?,
?> Project.asProject()
AbstractProject<?,
?> SCMedItem.asProject()
Deprecated.SCMedItem
needs to be an instance ofAbstractProject
.static AbstractProject
AbstractProject.findNearest
(String name) Finds aAbstractProject
that has the name closest to the given name.static AbstractProject
AbstractProject.findNearest
(String name, ItemGroup context) Finds aAbstractProject
whose name (when referenced from the specified context) is closest to the given name.AbstractProject.getBuildingDownstream()
Returns the project if any of the downstream project is either building, or queued and not blocked by an upstream/downstream project build.AbstractProject.getBuildingUpstream()
Returns the project if any of the upstream project is either building, or queued and not blocked by an upstream/downstream project build.DependencyGraph.Dependency.getDownstreamProject()
AbstractProject<?,
?> ParametersDefinitionProperty.getOwner()
Deprecated.AbstractProject<?,
?> ParametersDefinitionProperty.getProject()
Deprecated.AbstractProject<?,
?> AbstractProject.getRootProject()
Gets the nearest ancestorTopLevelItem
that's also anAbstractProject
.DependencyGraph.Dependency.getUpstreamProject()
static AbstractProject
AbstractProject.resolveForCLI
(String name) Used for CLI binding.Methods in hudson.model that return types with arguments of type AbstractProjectModifier and TypeMethodDescriptionfinal List<AbstractProject>
AbstractProject.getBuildTriggerUpstreamProjects()
Returns only those upstream projects that definesBuildTrigger
to this project.AbstractBuild.getDependencyChanges
(AbstractBuild from) Gets the changes in the dependency between the given build and this build.DependencyGraph.getDownstream
(AbstractProject p) Gets all the immediate downstream projects (IOW forward edges) of the given project.AbstractBuild.getDownstreamBuilds()
Gets the downstream builds of this build, which are the builds of the downstream projects that use artifacts of this build.final List<AbstractProject>
AbstractProject.getDownstreamProjects()
Gets the otherAbstractProject
s that should be built when a build of this project is completed.AbstractProject.getDownstreamProjectsForApi()
Set<AbstractProject<?,
?>> User.getProjects()
Gets all theAbstractProject
s that this user has committed to.Computer.getTiedJobs()
Returns projects that are tied on this node.Label.getTiedJobs()
Returns projects that are tied on this node.List<AbstractProject<?,
?>> DependencyGraph.getTopologicallySorted()
Returns all the projects in the topological order of the dependency.DependencyGraph.getTransitiveDownstream
(AbstractProject src) Gets all the direct and indirect downstream dependencies of the given project.final Set<AbstractProject>
AbstractProject.getTransitiveDownstreamProjects()
Gets all the downstream projects including transitive downstream projects.DependencyGraph.getTransitiveUpstream
(AbstractProject src) Gets all the direct and indirect upstream dependencies of the given project.AbstractBuild.getTransitiveUpstreamBuilds()
Works likeAbstractBuild.getUpstreamBuilds()
but also includes all the transitive dependencies as well.final Set<AbstractProject>
AbstractProject.getTransitiveUpstreamProjects()
Gets all the upstream projects including transitive upstream projects.DependencyGraph.getUpstream
(AbstractProject p) Gets all the immediate upstream projects (IOW backward edges) of the given project.AbstractBuild.getUpstreamBuilds()
Gets the upstream builds of this build, which are the builds of the upstream projects whose artifacts feed into this build.final List<AbstractProject>
AbstractProject.getUpstreamProjects()
AbstractProject.getUpstreamProjectsForApi()
Methods in hudson.model with parameters of type AbstractProjectModifier and TypeMethodDescriptionboolean
Queue.add
(AbstractProject p) Deprecated.as of 1.311 UseQueue.schedule(AbstractProject)
boolean
Queue.add
(AbstractProject p, int quietPeriod) Deprecated.as of 1.311 UseQueue.schedule(Task, int)
void
DependencyGraph.addDependency
(AbstractProject upstream, AbstractProject downstream) Deprecated.since 1.341; useDependencyGraph.addDependency(Dependency)
void
DependencyGraph.addDependency
(AbstractProject upstream, Collection<? extends AbstractProject> downstream) Deprecated.since 1.341void
DependencyGraph.addDependency
(Collection<? extends AbstractProject> upstream, AbstractProject downstream) Deprecated.since 1.341void
DependencyGraph.addDependencyDeclarers
(AbstractProject upstream, Collection<?> possibleDependecyDeclarers) Lists upDependencyDeclarer
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 Graphabstract Collection<? extends Action>
TransientProjectActionFactory.createFor
(AbstractProject target) Creates actions for the given project.AbstractProject.AbstractProjectDescriptor.doCheckAssignedLabelString
(AbstractProject<?, ?> project, String value) AbstractProject.AbstractProjectDescriptor.doCheckLabel
(AbstractProject<?, ?> project, String value) AbstractProject.AbstractProjectDescriptor.getApplicableSCMCheckoutStrategyDescriptors
(AbstractProject p) DependencyGraph.getDownstream
(AbstractProject p) Gets all the immediate downstream projects (IOW forward edges) of the given project.Iterable<AbstractBuild<?,
?>> AbstractBuild.getDownstreamBuilds
(AbstractProject<?, ?> that) Works likeAbstractBuild.getDownstreamRelationship(AbstractProject)
but returns the actual build objects, in ascending order.DependencyGraph.getDownstreamDependencies
(AbstractProject p) AbstractBuild.getDownstreamRelationship
(AbstractProject that) Gets the dependency relationship from this build (as the source) and that project (as the sink.)ParametersDefinitionProperty.getJobActions
(AbstractProject<?, ?> job) Deprecated.final Action
JobProperty.getProjectAction
(AbstractProject<?, ?> project) final Collection<? extends Action>
JobProperty.getProjectActions
(AbstractProject<?, ?> project) AbstractProject.getRelationship
(AbstractProject that) Gets the dependency relationship map between this project (as the source) and that project (as the sink.)DependencyGraph.getTransitiveDownstream
(AbstractProject src) Gets all the direct and indirect downstream dependencies of the given project.DependencyGraph.getTransitiveUpstream
(AbstractProject src) Gets all the direct and indirect upstream dependencies of the given project.DependencyGraph.getUpstream
(AbstractProject p) Gets all the immediate upstream projects (IOW backward edges) of the given project.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 likeAbstractBuild.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.Queue.schedule
(AbstractProject p) Schedule a new build for this project.static FormValidation
AbstractProject.AbstractProjectDescriptor.validateLabelExpression
(String value, AbstractProject<?, ?> project) Deprecated.UseLabelExpression.validate(String, Item)
instead.Method parameters in hudson.model with type arguments of type AbstractProjectModifier and TypeMethodDescriptionvoid
DependencyGraph.addDependency
(AbstractProject upstream, Collection<? extends AbstractProject> downstream) Deprecated.since 1.341void
DependencyGraph.addDependency
(Collection<? extends AbstractProject> upstream, AbstractProject downstream) Deprecated.since 1.341Constructors in hudson.model with parameters of type AbstractProjectModifierConstructorDescriptionDependency
(AbstractProject upstream, AbstractProject downstream) DependencyChange
(AbstractProject<?, ?> project, int fromId, int toId) -
Uses of AbstractProject in hudson.model.listeners
Methods in hudson.model.listeners with parameters of type AbstractProjectModifier and TypeMethodDescriptionstatic 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. -
Uses of AbstractProject in hudson.model.queue
Methods in hudson.model.queue with parameters of type AbstractProjectModifier and TypeMethodDescriptionCollection<? extends SubTask>
SubTaskContributor.forProject
(AbstractProject<?, ?> p) -
Uses of AbstractProject in hudson.scm
Methods in hudson.scm with parameters of type AbstractProjectModifier and TypeMethodDescriptionstatic 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.StaplerRequest2 req, AbstractProject target) ParsesSCM
configuration from the submitted form.static SCM
SCMS.parseSCM
(org.kohsuke.stapler.StaplerRequest req, AbstractProject target) Deprecated.final 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 OverrideSCM.calcRevisionsFromBuild(AbstractBuild, Launcher, TaskListener)
andSCM.compareRemoteRevisionWith(AbstractProject, Launcher, FilePath, TaskListener, SCMRevisionState)
for implementation.boolean
SCM.processWorkspaceBeforeDeletion
(AbstractProject<?, ?> project, FilePath workspace, Node node) Deprecated. -
Uses of AbstractProject in hudson.security
Methods in hudson.security with parameters of type AbstractProjectModifier and TypeMethodDescriptionAuthorizationStrategy.getACL
(AbstractProject<?, ?> project) Deprecated.since 1.277 OverrideAuthorizationStrategy.getACL(Job)
instead. -
Uses of AbstractProject in hudson.tasks
Methods in hudson.tasks that return types with arguments of type AbstractProjectModifier and TypeMethodDescriptionBuildTrigger.getChildProjects()
Deprecated.as of 1.406 UseBuildTrigger.getChildProjects(ItemGroup)
BuildTrigger.getChildProjects
(AbstractProject owner) Deprecated.BuildTrigger.getChildProjects
(ItemGroup base) Deprecated.Fingerprinter.FingerprintAction.getDependencies()
Gets the dependency to other existing builds in a map.Fingerprinter.FingerprintAction.getDependencies
(boolean includeMissing) Gets the dependency to other builds in a map.Methods in hudson.tasks with parameters of type AbstractProjectModifier and TypeMethodDescriptionvoid
BuildTrigger.buildDependencyGraph
(AbstractProject owner, DependencyGraph graph) void
Fingerprinter.buildDependencyGraph
(AbstractProject owner, DependencyGraph graph) BuildTrigger.DescriptorImpl.doCheck
(AbstractProject project, String value) Form validation method.Fingerprinter.DescriptorImpl.doCheck
(AbstractProject project, String value) Deprecated.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 modifiedFingerprinter.DescriptorImpl.doCheckTargets
(AbstractProject<?, ?> project, String value) BuildTrigger.getChildJobs
(AbstractProject<?, ?> owner) BuildTrigger.getChildProjects
(AbstractProject owner) Deprecated.static List<Descriptor<BuildWrapper>>
BuildWrappers.getFor
(AbstractProject<?, ?> project) List up allBuildWrapperDescriptor
s that are applicable for the given project.BuildStep.getProjectAction
(AbstractProject<?, ?> project) Deprecated.as of 1.341.BuildStepCompatibilityLayer.getProjectAction
(AbstractProject<?, ?> project) Deprecated.BuildWrapper.getProjectAction
(AbstractProject job) Deprecated.UseBuildWrapper.getProjectActions(AbstractProject)
instead.Collection<? extends Action>
BuildStep.getProjectActions
(AbstractProject<?, ?> project) Collection<? extends Action>
BuildStepCompatibilityLayer.getProjectActions
(AbstractProject<?, ?> project) Deprecated.Collection<? extends Action>
BuildWrapper.getProjectActions
(AbstractProject job) Action
s to be displayed in the job page.boolean
BuildTrigger.hasSame
(AbstractProject owner, Collection<? extends AbstractProject> projects) Deprecated.apparently unusedabstract boolean
BuildWrapperDescriptor.isApplicable
(AbstractProject<?, ?> item) Returns true if this task is applicable to the given project.Method parameters in hudson.tasks with type arguments of type AbstractProjectModifier and TypeMethodDescriptionstatic <T extends BuildStep & Describable<T>>
List<Descriptor<T>>BuildStepDescriptor.filter
(List<Descriptor<T>> base, Class<? extends AbstractProject> type) Filters a descriptor forBuildStep
s by usingBuildStepDescriptor.isApplicable(Class)
.boolean
BuildTrigger.hasSame
(AbstractProject owner, Collection<? extends AbstractProject> projects) Deprecated.apparently unusedboolean
BuildTrigger.hasSame
(Collection<? extends AbstractProject> projects) Deprecated.as of 1.406 UseBuildTrigger.hasSame(AbstractProject, Collection)
boolean
ArtifactArchiver.DescriptorImpl.isApplicable
(Class<? extends AbstractProject> jobType) 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
BuildTrigger.DescriptorImpl.isApplicable
(Class<? extends AbstractProject> jobType) boolean
Fingerprinter.DescriptorImpl.isApplicable
(Class<? extends AbstractProject> jobType) boolean
Maven.DescriptorImpl.isApplicable
(Class<? extends AbstractProject> jobType) boolean
Shell.DescriptorImpl.isApplicable
(Class<? extends AbstractProject> jobType) boolean
BuildTrigger.DescriptorImpl.showEvenIfUnstableOption
(Class<? extends AbstractProject<?, ?>> jobType) Constructor parameters in hudson.tasks with type arguments of type AbstractProjectModifierConstructorDescriptionBuildTrigger
(Collection<? extends AbstractProject> childProjects, Result threshold) BuildTrigger
(List<AbstractProject> childProjects, Result threshold) -
Uses of AbstractProject in hudson.triggers
Methods in hudson.triggers that return AbstractProject -
Uses of AbstractProject in hudson.util
Methods in hudson.util with parameters of type AbstractProjectModifier and TypeMethodDescriptionvoid
DescribableList.buildDependencyGraph
(AbstractProject owner, DependencyGraph graph) Picks upDependencyDeclarer
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. -
Uses of AbstractProject in jenkins.model
Methods in jenkins.model with type parameters of type AbstractProjectMethods in jenkins.model with parameters of type AbstractProjectModifier and TypeMethodDescriptionvoid
DependencyDeclarer.buildDependencyGraph
(AbstractProject owner, DependencyGraph graph) Invoked frombuildDependencyGraph(DependencyGraph)
. -
Uses of AbstractProject in jenkins.scm
Methods in jenkins.scm with parameters of type AbstractProjectModifier and TypeMethodDescriptionstatic List<SCMCheckoutStrategyDescriptor>
SCMCheckoutStrategyDescriptor._for
(AbstractProject p) boolean
DefaultSCMCheckoutStrategyImpl.DescriptorImpl.isApplicable
(AbstractProject project) abstract boolean
SCMCheckoutStrategyDescriptor.isApplicable
(AbstractProject project) AllowsSCMCheckoutStrategyDescriptor
to target specific kind of projects, such as matrix projects. -
Uses of AbstractProject in jenkins.tasks
Methods in jenkins.tasks with parameters of type AbstractProjectModifier and TypeMethodDescriptionfinal Collection<? extends Action>
SimpleBuildWrapper.getProjectActions
(AbstractProject job) -
Uses of AbstractProject in jenkins.triggers
Methods in jenkins.triggers with parameters of type AbstractProjectModifier and TypeMethodDescriptionvoid
ReverseBuildTrigger.buildDependencyGraph
(AbstractProject downstream, DependencyGraph graph)
ParameterizedJobMixIn.BUILD_NOW_TEXT
.