Uses of Class
hudson.model.AbstractProject
-
Packages that use AbstractProject Package Description hudson hudson.cli Server-side CLI commands for Hudson.hudson.cli.handlers OptionHandlerimplementations for Hudson.hudson.model Core object model that are bound to URLs via stapler, rooted atJenkins.hudson.model.listeners Listener interfaces for various events that occur inside the server.hudson.model.queue hudson.scm Jenkins's interface with source code management systems.hudson.security Security-related code.hudson.tasks hudson.triggers Built-inTriggers that run periodically to kick a new build.hudson.util Other miscellaneous utility codejenkins.model jenkins.scm jenkins.tasks jenkins.triggers -
-
Uses of AbstractProject in hudson
Methods in hudson with parameters of type AbstractProject Modifier and Type Method Description voidFileSystemProvisioner.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 AbstractProject Modifier and Type Method Description static StringFunctions. getProjectListString(List<AbstractProject> projects) -
Uses of AbstractProject in hudson.cli
Fields in hudson.cli declared as AbstractProject Modifier and Type Field Description AbstractProject<?,?>AbstractBuildRangeCommand. jobDeprecated. -
Uses of AbstractProject in hudson.cli.handlers
Methods in hudson.cli.handlers that return types with arguments of type AbstractProject Modifier and Type Method Description protected Class<AbstractProject>AbstractProjectOptionHandler. type()Constructor parameters in hudson.cli.handlers with type arguments of type AbstractProject Constructor Description AbstractProjectOptionHandler(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 AbstractProject Modifier and Type Class Description classAbstractBuild<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.model Modifier and Type Class Description classFreeStyleProjectFree-style software project.classProject<P extends Project<P,B>,B extends Build<P,B>>Buildable software project.Fields in hudson.model declared as AbstractProject Modifier and Type Field Description AbstractProjectAbstractBuild.DependencyChange. projectThe dependency project.AbstractProject<?,?>AbstractProject.BecauseOfDownstreamBuildInProgress. upAbstractProject<?,?>AbstractProject.BecauseOfUpstreamBuildInProgress. upFields in hudson.model with type parameters of type AbstractProject Modifier and Type Field Description static AlternativeUiTextProvider.Message<AbstractProject>AbstractProject. BUILD_NOW_TEXTDeprecated.Methods in hudson.model that return AbstractProject Modifier and Type Method Description AbstractProject<?,?>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.AbstractProjectAbstractProject. getBuildingDownstream()Returns the project if any of the downstream project is either building, or queued and not blocked by an upstream/downstream project build.AbstractProjectAbstractProject. getBuildingUpstream()Returns the project if any of the upstream project is either building, or queued and not blocked by an upstream/downstream project build.AbstractProjectDependencyGraph.Dependency. getDownstreamProject()AbstractProject<?,?>ParametersDefinitionProperty. getOwner()Deprecated.AbstractProject<?,?>ParametersDefinitionProperty. getProject()Deprecated.AbstractProject<?,?>AbstractProject. getRootProject()Gets the nearest ancestorTopLevelItemthat's also anAbstractProject.AbstractProjectDependencyGraph.Dependency. getUpstreamProject()static AbstractProjectAbstractProject. resolveForCLI(String name)Used for CLI binding.Methods in hudson.model that return types with arguments of type AbstractProject Modifier and Type Method Description List<AbstractProject>AbstractProject. getBuildTriggerUpstreamProjects()Returns only those upstream projects that definesBuildTriggerto 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 otherAbstractProjects that should be built when a build of this project is completed.List<AbstractProject>AbstractProject. getDownstreamProjectsForApi()Set<AbstractProject<?,?>>User. getProjects()Gets all theAbstractProjects that this user has committed to.List<AbstractProject>Computer. getTiedJobs()Returns projects that are tied on this node.List<AbstractProject>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.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 likeAbstractBuild.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()Methods in hudson.model with parameters of type AbstractProject Modifier and Type Method Description booleanQueue. 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.FormValidationAbstractProject.AbstractProjectDescriptor. doCheckAssignedLabelString(AbstractProject<?,?> project, String value)FormValidationAbstractProject.AbstractProjectDescriptor. doCheckDisplayNameOrNull(AbstractProject project, String value)FormValidationAbstractProject.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 likeAbstractBuild.getDownstreamRelationship(AbstractProject)but returns the actual build objects, in ascending order.List<DependencyGraph.Dependency>DependencyGraph. getDownstreamDependencies(AbstractProject p)Fingerprint.RangeSetAbstractBuild. 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.ActionJobProperty. 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)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.WaitingItemQueue. 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 AbstractProject Modifier and Type Method Description voidDependencyGraph. 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 AbstractProject Constructor Description BecauseOfDownstreamBuildInProgress(AbstractProject<?,?> up)BecauseOfUpstreamBuildInProgress(AbstractProject<?,?> up)Dependency(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 AbstractProject Modifier and Type Method Description static 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 AbstractProject Modifier and Type Method Description Collection<? extends SubTask>SubTaskContributor. forProject(AbstractProject<?,?> p) -
Uses of AbstractProject in hudson.scm
Methods in hudson.scm with parameters of type AbstractProject Modifier and Type Method Description static 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.StaplerRequest req, AbstractProject target)ParsesSCMconfiguration from the submitted form.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 AbstractProject Modifier and Type Method Description ACLAuthorizationStrategy. 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 AbstractProject Modifier and Type Method Description List<AbstractProject>BuildTrigger. getChildProjects()Deprecated.as of 1.406 UseBuildTrigger.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.Methods in hudson.tasks with parameters of type AbstractProject Modifier and Type Method Description voidBuildTrigger. buildDependencyGraph(AbstractProject owner, DependencyGraph graph)voidFingerprinter. buildDependencyGraph(AbstractProject owner, DependencyGraph graph)FormValidationBuildTrigger.DescriptorImpl. doCheck(AbstractProject project, String value)Form validation method.FormValidationFingerprinter.DescriptorImpl. doCheck(AbstractProject project, String value)Deprecated.FormValidationArtifactArchiver.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 modifiedFormValidationFingerprinter.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 allBuildWrapperDescriptors that are applicable for the given project.ActionBuildStep. getProjectAction(AbstractProject<?,?> project)Deprecated.as of 1.341.ActionBuildStepCompatibilityLayer. getProjectAction(AbstractProject<?,?> project)Deprecated.ActionBuildWrapper. 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 AbstractProject Modifier and Type Method Description static <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 AbstractProject Constructor Description BuildTrigger(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 Modifier and Type Method Description AbstractProject<?,?>SCMTrigger.SCMAction. getOwner() -
Uses of AbstractProject in hudson.util
Methods in hudson.util with parameters of type AbstractProject Modifier and Type Method Description voidDescribableList. 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 AbstractProject Modifier and Type Method Description <T extends AbstractProject<?,?>>
TJenkins. copy(T src, String name)Methods in jenkins.model with parameters of type AbstractProject Modifier and Type Method Description voidDependencyDeclarer. buildDependencyGraph(AbstractProject owner, DependencyGraph graph)Invoked frombuildDependencyGraph(DependencyGraph). -
Uses of AbstractProject in jenkins.scm
Methods in jenkins.scm with parameters of type AbstractProject Modifier and Type Method Description static 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 AbstractProject Modifier and Type Method Description Collection<? extends Action>SimpleBuildWrapper. getProjectActions(AbstractProject job) -
Uses of AbstractProject in jenkins.triggers
Methods in jenkins.triggers with parameters of type AbstractProject Modifier and Type Method Description voidReverseBuildTrigger. buildDependencyGraph(AbstractProject downstream, DependencyGraph graph)
-