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
Triggers 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 TypeMethodDescriptionvoidFileSystemProvisioner.Default.discardWorkspace(AbstractProject<?, ?> project, FilePath ws) abstract voidFileSystemProvisioner.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) voidDependencyRunner.ProjectRunnable.run(AbstractProject p) Method parameters in hudson with type arguments of type AbstractProjectModifier and TypeMethodDescriptionstatic StringFunctions.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 TypeClassDescriptionclassAbstractBuild<P extends AbstractProject<P,R>, R extends AbstractBuild<P, R>> Base implementation ofRuns that build software.classAbstractProject<P extends AbstractProject<P,R>, R extends AbstractBuild<P, R>> Base implementation ofJobs that build software.Subclasses of AbstractProject in hudson.modelModifier and TypeClassDescriptionclassFree-style software project.classBuildable software project.Fields in hudson.model declared as AbstractProjectModifier and TypeFieldDescriptionfinal AbstractProjectAbstractBuild.DependencyChange.projectThe dependency project.final AbstractProject<?, ?> AbstractProject.BecauseOfDownstreamBuildInProgress.upfinal AbstractProject<?, ?> AbstractProject.BecauseOfUpstreamBuildInProgress.upFields in hudson.model with type parameters of type AbstractProjectModifier and TypeFieldDescriptionstatic final AlternativeUiTextProvider.Message<AbstractProject> AbstractProject.BUILD_NOW_TEXTDeprecated.Methods in hudson.model that return AbstractProjectModifier and TypeMethodDescriptionAbstractProject<?, ?> BuildableItemWithBuildWrappers.asProject()BuildableItemWithBuildWrappersneeds to be an instance ofAbstractProject.AbstractProject<?, ?> Project.asProject()AbstractProject<?, ?> SCMedItem.asProject()Deprecated.SCMedItemneeds to be an instance ofAbstractProject.static AbstractProjectAbstractProject.findNearest(String name) Finds aAbstractProjectthat has the name closest to the given name.static AbstractProjectAbstractProject.findNearest(String name, ItemGroup context) Finds aAbstractProjectwhose 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 ancestorTopLevelItemthat's also anAbstractProject.DependencyGraph.Dependency.getUpstreamProject()static AbstractProjectAbstractProject.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 definesBuildTriggerto 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 otherAbstractProjects that should be built when a build of this project is completed.AbstractProject.getDownstreamProjectsForApi()Set<AbstractProject<?, ?>> User.getProjects()Gets all theAbstractProjects 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 TypeMethodDescriptionbooleanQueue.add(AbstractProject p) Deprecated.as of 1.311 UseQueue.schedule(AbstractProject)booleanQueue.add(AbstractProject p, int quietPeriod) Deprecated.as of 1.311 UseQueue.schedule(Task, int)voidDependencyGraph.addDependency(AbstractProject upstream, AbstractProject downstream) Deprecated.since 1.341; useDependencyGraph.addDependency(Dependency)voidDependencyGraph.addDependency(AbstractProject upstream, Collection<? extends AbstractProject> downstream) Deprecated.since 1.341voidDependencyGraph.addDependency(Collection<? extends AbstractProject> upstream, AbstractProject downstream) Deprecated.since 1.341voidDependencyGraph.addDependencyDeclarers(AbstractProject upstream, Collection<?> possibleDependecyDeclarers) Lists upDependencyDeclarerfrom the collection and let them builds dependencies.voidWorkspaceListener.afterDelete(AbstractProject project) Called after a workspace is deleted successfully.abstract FormValidationAbstractProject.LabelValidator.check(AbstractProject<?, ?> project, Label label) Deprecated.Check the use of the label within the specified context.static voidBuildAuthorizationToken.checkPermission(AbstractProject<?, ?> project, BuildAuthorizationToken token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) Deprecated.intDependencyGraph.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 ActionJobProperty.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) intAbstractBuild.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.booleanDependencyGraph.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 FormValidationAbstractProject.AbstractProjectDescriptor.validateLabelExpression(String value, AbstractProject<?, ?> project) Deprecated.UseLabelExpression.validate(String, Item)instead.Method parameters in hudson.model with type arguments of type AbstractProjectModifier and TypeMethodDescriptionvoidDependencyGraph.addDependency(AbstractProject upstream, Collection<? extends AbstractProject> downstream) Deprecated.since 1.341voidDependencyGraph.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 voidSCMPollListener.fireBeforePolling(AbstractProject<?, ?> project, TaskListener listener) static voidSCMPollListener.firePollingFailed(AbstractProject<?, ?> project, TaskListener listener, Throwable exception) static voidSCMPollListener.firePollingSuccess(AbstractProject<?, ?> project, TaskListener listener, PollingResult result) voidSCMPollListener.onBeforePolling(AbstractProject<?, ?> project, TaskListener listener) Called before the polling execution.voidSCMPollListener.onPollingFailed(AbstractProject<?, ?> project, TaskListener listener, Throwable exception) Called when the polling concluded with an error.voidSCMPollListener.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 PollingResultSCM.compareRemoteRevisionWith(AbstractProject<?, ?> project, Launcher launcher, FilePath workspace, TaskListener listener, SCMRevisionState baseline) Deprecated.booleanSCMDescriptor.isApplicable(AbstractProject project) Deprecated.static SCMSCMS.parseSCM(org.kohsuke.stapler.StaplerRequest2 req, AbstractProject target) ParsesSCMconfiguration from the submitted form.static SCMSCMS.parseSCM(org.kohsuke.stapler.StaplerRequest req, AbstractProject target) Deprecated.final PollingResultSCM.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.booleanSCM.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.booleanSCM.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 TypeMethodDescriptionvoidBuildTrigger.buildDependencyGraph(AbstractProject owner, DependencyGraph graph) voidFingerprinter.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 allBuildWrapperDescriptors 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) Actions to be displayed in the job page.booleanBuildTrigger.hasSame(AbstractProject owner, Collection<? extends AbstractProject> projects) Deprecated.apparently unusedabstract booleanBuildWrapperDescriptor.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 forBuildSteps by usingBuildStepDescriptor.isApplicable(Class).booleanBuildTrigger.hasSame(AbstractProject owner, Collection<? extends AbstractProject> projects) Deprecated.apparently unusedbooleanBuildTrigger.hasSame(Collection<? extends AbstractProject> projects) Deprecated.as of 1.406 UseBuildTrigger.hasSame(AbstractProject, Collection)booleanArtifactArchiver.DescriptorImpl.isApplicable(Class<? extends AbstractProject> jobType) booleanBatchFile.DescriptorImpl.isApplicable(Class<? extends AbstractProject> jobType) abstract booleanBuildStepDescriptor.isApplicable(Class<? extends AbstractProject> jobType) Returns true if this task is applicable to the given project.booleanBuildTrigger.DescriptorImpl.isApplicable(Class<? extends AbstractProject> jobType) booleanFingerprinter.DescriptorImpl.isApplicable(Class<? extends AbstractProject> jobType) booleanMaven.DescriptorImpl.isApplicable(Class<? extends AbstractProject> jobType) booleanShell.DescriptorImpl.isApplicable(Class<? extends AbstractProject> jobType) booleanBuildTrigger.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 TypeMethodDescriptionvoidDescribableList.buildDependencyGraph(AbstractProject owner, DependencyGraph graph) Picks upDependencyDeclarers and allow it to build dependencies.protected FilePathFormFieldValidator.WorkspaceFileMask.getBaseDirectory(AbstractProject<?, ?> p) Deprecated.The base directory from which the path name is resolved.protected FilePathFormFieldValidator.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 TypeMethodDescriptionvoidDependencyDeclarer.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) booleanDefaultSCMCheckoutStrategyImpl.DescriptorImpl.isApplicable(AbstractProject project) abstract booleanSCMCheckoutStrategyDescriptor.isApplicable(AbstractProject project) AllowsSCMCheckoutStrategyDescriptorto 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 TypeMethodDescriptionvoidReverseBuildTrigger.buildDependencyGraph(AbstractProject downstream, DependencyGraph graph)
ParameterizedJobMixIn.BUILD_NOW_TEXT.