Uses of Class
hudson.model.Job
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.
Other miscellaneous utility code
-
Uses of Job in hudson
Modifier and TypeClassDescriptionclass
Used byprojectView.jelly
to indent modules.Modifier and TypeMethodDescriptionstatic List<JobPropertyDescriptor>
Functions.getJobPropertyDescriptors
(Job job) Modifier and TypeMethodDescriptionstatic List<JobPropertyDescriptor>
Functions.getJobPropertyDescriptors
(Class<? extends Job> clazz) -
Uses of Job in hudson.cli
-
Uses of Job in hudson.cli.handlers
ModifierConstructorDescriptionJobOptionHandler
(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<Job> setter) -
Uses of Job in hudson.model
Modifier and TypeClassDescriptionclass
A job is an runnable entity under the monitoring of Hudson.class
JobProperty<J extends Job<?,
?>> Extensible property ofJob
.class
A particular execution ofJob
.Modifier and TypeClassDescriptionclass
AbstractProject<P extends AbstractProject<P,
R>, R extends AbstractBuild<P, R>> Base implementation ofJob
s that build software.class
Free-style software project.class
Buildable software project.class
Job
that monitors activities that happen outside Hudson, which requires occasional batch reload activity to obtain the up-to-date information.Modifier and TypeFieldDescriptionprotected J
JobProperty.owner
TheJob
object that owns this property.protected final JobT
Run.project
Modifier and TypeFieldDescriptionstatic final AlternativeUiTextProvider.Message<Job>
ParametersDefinitionProperty.BUILD_BUTTON_TEXT
Modifier and TypeMethodDescriptionJob<?,
?> Fingerprint.BuildPtr.getJob()
Gets theJob
that this pointer points to, or null if such a job no longer exists.RunParameterDefinition.getProject()
Modifier and TypeMethodDescriptionabstract Collection<? extends Job>
AbstractItem.getAllJobs()
Gets all the jobs that thisItem
contains as descendants.Collection<? extends Job>
Item.getAllJobs()
Gets all the jobs that thisItem
contains as descendants.Collection<? extends Job>
Job.getAllJobs()
Modifier and TypeMethodDescriptionint
Job.BuildNumberAssigner.assignBuildNumber
(Job<?, ?> job, Job.BuildNumberAssigner.SaveNextBuildNumber saveNextBuildNumber) Implementation ofassignBuildNumber()
.int
Job.DefaultBuildNumberAssigner.assignBuildNumber
(Job<?, ?> job, Job.BuildNumberAssigner.SaveNextBuildNumber saveNextBuildNumber) boolean
Returns true ifFingerprint.BuildPtr
points to the given job or one of its subordinates.void
EnvironmentContributor.buildEnvironmentFor
(Job j, EnvVars envs, TaskListener listener) Contributes environment variables used for a job.static void
BuildAuthorizationToken.checkPermission
(Job<?, ?> project, BuildAuthorizationToken token, org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) Deprecated.static void
BuildAuthorizationToken.checkPermission
(Job<?, ?> project, BuildAuthorizationToken token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) Deprecated.ParametersDefinitionProperty.getJobActions
(Job<?, ?> job) Fingerprint.getRangeSet
(Job job) abstract FilePath
WorkspaceBrowser.getWorkspace
(Job job) Provide access to job's workspaceboolean
Returns true ifFingerprint.BuildPtr
points to the given job.void
RunMap.load
(Job job, RunMap.Constructor<R> cons) Deprecated.as of 1.485 UseRunMap(File, Constructor)
void
void
boolean
Returns true if this cause points to a build in the specified job.abstract Run<?,
?> Resolves the permalink to a build.Modifier and TypeMethodDescriptionstatic List<JobPropertyDescriptor>
JobPropertyDescriptor.getPropertyDescriptors
(Class<? extends Job> clazz) Gets theJobPropertyDescriptor
s applicable for a given job type.boolean
JobPropertyDescriptor.isApplicable
(Class<? extends Job> jobType) Returns true if thisJobProperty
type is applicable to the given job type.boolean
ParametersDefinitionProperty.DescriptorImpl.isApplicable
(Class<? extends Job> jobType) -
Uses of Job in hudson.model.listeners
-
Uses of Job in hudson.scm
Modifier and TypeMethodDescriptionstatic List<SCMDescriptor<?>>
Determines which kinds of SCMs are applicable to a given project.NullSCM.compareRemoteRevisionWith
(Job<?, ?> project, Launcher launcher, FilePath workspace, TaskListener listener, SCMRevisionState baseline) SCM.compareRemoteRevisionWith
(Job<?, ?> project, Launcher launcher, FilePath workspace, TaskListener listener, SCMRevisionState baseline) Compares the current state of the remote repository against the given baselineSCMRevisionState
.boolean
SCMDescriptor.isApplicable
(Job project) AllowsSCMDescriptor
s to choose which projects it wants to be configurable against.boolean
SCM.processWorkspaceBeforeDeletion
(Job<?, ?> project, FilePath workspace, Node node) Called before a workspace is deleted on the given node, to provide SCM an opportunity to perform clean up. -
Uses of Job in hudson.security
-
Uses of Job in hudson.tasks
-
Uses of Job in hudson.util
Modifier and TypeMethodDescriptionCreates a aRunList
combining all the runs of the supplied jobs. -
Uses of Job in hudson.widgets
Modifier and TypeMethodDescriptionBuildHistoryWidget.FactoryImpl.type()
HistoryWidget.FactoryImpl.type()
Modifier and TypeMethodDescription -
Uses of Job in jenkins.model
Modifier and TypeClassDescriptionclass
OptionalJobProperty<J extends Job<?,
?>> Job property which may or may not be present.class
ParameterizedJobMixIn<JobT extends Job<JobT,
RunT> & ParameterizedJobMixIn.ParameterizedJob<JobT, RunT> & Queue.Task, RunT extends Run<JobT, RunT> & Queue.Executable> Allows aJob
to make use ofParametersDefinitionProperty
and be scheduled in various ways.static interface
ParameterizedJobMixIn.ParameterizedJob<JobT extends Job<JobT,
RunT> & ParameterizedJobMixIn.ParameterizedJob<JobT, RunT> & Queue.Task, RunT extends Run<JobT, RunT> & Queue.Executable> Marker for job using this mixin, and default implementations of many methods.Modifier and TypeMethodDescriptionAdds a child item when rendering context menu of its parent.void
Applies this build discarder strategy to the given job, i.e.void
void
void
CoreEnvironmentContributor.buildEnvironmentFor
(Job j, EnvVars env, TaskListener listener) Looks for any existing cache hit.Jenkins.getBuildDirFor
(Job job) protected File
PeepholePermalink.getPermalinkFile
(Job<?, ?> job) Deprecated.No longer used.static <T extends Trigger<?>>
TParameterizedJobMixIn.getTrigger
(Job<?, ?> job, Class<T> clazz) Checks for the existence of a specific trigger on a job.abstract boolean
GlobalBuildDiscarderStrategy.isApplicable
(Job<?, ?> job) Returns true if and only if this strategy applies to the given job.boolean
JobGlobalBuildDiscarderStrategy.isApplicable
(Job<?, ?> job) boolean
SimpleGlobalBuildDiscarderStrategy.isApplicable
(Job<?, ?> job) abstract void
Called to perform "garbage collection" on the job to discard old build records.static void
BackgroundGlobalBuildDiscarder.processJob
(TaskListener listener, Job job) Runs all globally configured build discarders against a job.static void
BackgroundGlobalBuildDiscarder.processJob
(TaskListener listener, Job job, Stream<GlobalBuildDiscarderStrategy> strategies) Runs the specified build discarders against a job.void
PeepholePermalink.Cache.put
(Job<?, ?> job, String id, PeepholePermalink.Cache.Known target) Updates the cache.void
PeepholePermalink.DefaultCache.put
(Job<?, ?> job, String id, PeepholePermalink.Cache.Known target) Run<?,
?> PeepholePermalink.Cache.None.resolve
(PeepholePermalink pp, Job<?, ?> job, String id) Run<?,
?> PeepholePermalink.Cache.PermalinkTarget.resolve
(PeepholePermalink pp, Job<?, ?> job, String id) Implementation ofPeepholePermalink.resolve(Job)
.Run<?,
?> PeepholePermalink.Cache.Some.resolve
(PeepholePermalink pp, Job<?, ?> job, String id) Run<?,
?> PeepholePermalink.Cache.Unknown.resolve
(PeepholePermalink pp, Job<?, ?> job, String id) Run<?,
?> Resolves the permalink by using the cache if possible.static Queue.Item
ParameterizedJobMixIn.scheduleBuild2
(Job<?, ?> job, int quietPeriod, Action... actions) Convenience method to schedule a build.default Run<?,
?> PeepholePermalink.Cache.PermalinkTarget.search
(PeepholePermalink pp, Job<?, ?> job, String id, Run<?, ?> b) Partial implementation ofPeepholePermalink.Cache.PermalinkTarget.resolve(PeepholePermalink, Job, String)
when searching.protected void
PeepholePermalink.updateCache
(Job<?, ?> job, Run<?, ?> b) Remembers the value 'n' in the cache for futurePeepholePermalink.resolve(Job)
. -
Uses of Job in jenkins.model.lazy
Modifier and TypeClassDescriptionclass
LazyBuildMixIn<JobT extends Job<JobT,
RunT> & Queue.Task & LazyBuildMixIn.LazyLoadingJob<JobT, RunT>, RunT extends Run<JobT, RunT> & LazyBuildMixIn.LazyLoadingRun<JobT, RunT>> static interface
LazyBuildMixIn.LazyLoadingJob<JobT extends Job<JobT,
RunT> & Queue.Task & LazyBuildMixIn.LazyLoadingJob<JobT, RunT>, RunT extends Run<JobT, RunT> & LazyBuildMixIn.LazyLoadingRun<JobT, RunT>> Marker for aJob
which uses this mixin.static interface
LazyBuildMixIn.LazyLoadingRun<JobT extends Job<JobT,
RunT> & Queue.Task & LazyBuildMixIn.LazyLoadingJob<JobT, RunT>, RunT extends Run<JobT, RunT> & LazyBuildMixIn.LazyLoadingRun<JobT, RunT>> Marker for aRun
which uses this mixin.static class
LazyBuildMixIn.RunMixIn<JobT extends Job<JobT,
RunT> & Queue.Task & LazyBuildMixIn.LazyLoadingJob<JobT, RunT>, RunT extends Run<JobT, RunT> & LazyBuildMixIn.LazyLoadingRun<JobT, RunT>> Accompanying helper for the run type. -
Uses of Job in jenkins.scm
Modifier and TypeInterfaceDescriptioninterface
RunWithSCM<JobT extends Job<JobT,
RunT>, RunT extends Run<JobT, RunT> & RunWithSCM<JobT, RunT>> -
Uses of Job in jenkins.tasks
-
Uses of Job in jenkins.triggers
Modifier and TypeMethodDescriptionReverseBuildTrigger.DescriptorImpl.doCheckUpstreamProjects
(Job project, String value) void
-
Uses of Job in jenkins.widgets
BuildAuthorizationToken.checkPermission(Job, BuildAuthorizationToken, StaplerRequest2, StaplerResponse2)