Uses of Class
hudson.model.AbstractProject
-
Packages that use AbstractProject 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 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-inTrigger
s 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 void
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 AbstractProject Modifier and Type Method Description static String
Functions. getProjectListString(List<AbstractProject> projects)
-
Uses of AbstractProject in hudson.cli
Fields in hudson.cli declared as AbstractProject Modifier and Type Field Description AbstractProject<?,?>
AbstractBuildRangeCommand. job
Deprecated. -
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 class
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.model Modifier and Type Class Description class
FreeStyleProject
Free-style software project.class
Project<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 AbstractProject
AbstractBuild.DependencyChange. project
The dependency project.AbstractProject<?,?>
AbstractProject.BecauseOfDownstreamBuildInProgress. up
AbstractProject<?,?>
AbstractProject.BecauseOfUpstreamBuildInProgress. up
Fields in hudson.model with type parameters of type AbstractProject Modifier and Type Field Description static AlternativeUiTextProvider.Message<AbstractProject>
AbstractProject. BUILD_NOW_TEXT
Deprecated.Methods in hudson.model that return AbstractProject Modifier and Type Method Description AbstractProject<?,?>
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
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
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.AbstractProject
DependencyGraph.Dependency. getDownstreamProject()
AbstractProject<?,?>
ParametersDefinitionProperty. getOwner()
Deprecated.AbstractProject<?,?>
ParametersDefinitionProperty. getProject()
Deprecated.AbstractProject
View.UserInfo. getProject()
Deprecated.AbstractProject<?,?>
AbstractProject. getRootProject()
Gets the nearest ancestorTopLevelItem
that's also anAbstractProject
.AbstractProject
DependencyGraph.Dependency. getUpstreamProject()
static AbstractProject
AbstractProject. 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 definesBuildTrigger
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 otherAbstractProject
s that should be built when a build of this project is completed.List<AbstractProject>
AbstractProject. getDownstreamProjectsForApi()
Set<AbstractProject<?,?>>
User. getProjects()
Gets all theAbstractProject
s 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 boolean
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.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 likeAbstractBuild.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 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.WaitingItem
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 AbstractProject Modifier and Type Method Description void
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 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 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 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 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)
ParsesSCM
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 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 AbstractProject Modifier and Type Method Description ACL
AuthorizationStrategy. 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 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 modifiedFormValidation
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 allBuildWrapperDescriptor
s that are applicable for the given project.Action
BuildStep. getProjectAction(AbstractProject<?,?> project)
Deprecated.as of 1.341.Action
BuildStepCompatibilityLayer. getProjectAction(AbstractProject<?,?> project)
Deprecated.Action
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 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 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 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 void
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 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 void
DependencyDeclarer. 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)
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 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 void
ReverseBuildTrigger. buildDependencyGraph(AbstractProject downstream, DependencyGraph graph)
-