Uses of Class
hudson.model.Job
-
Packages that use Job 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.scm Jenkins's interface with source code management systems.hudson.security Security-related code.hudson.tasks hudson.util Other miscellaneous utility codejenkins.model jenkins.model.lazy jenkins.scm jenkins.tasks jenkins.triggers -
-
Uses of Job in hudson
Classes in hudson with type parameters of type Job Modifier and Type Class Description class
Indenter<J extends Job>
Used byprojectView.jelly
to indent modules.Methods in hudson with parameters of type Job Modifier and Type Method Description static List<JobPropertyDescriptor>
Functions. getJobPropertyDescriptors(Job job)
Method parameters in hudson with type arguments of type Job Modifier and Type Method Description static List<JobPropertyDescriptor>
Functions. getJobPropertyDescriptors(Class<? extends Job> clazz)
-
Uses of Job in hudson.cli
Fields in hudson.cli declared as Job Modifier and Type Field Description Job<?,?>
BuildCommand. job
Job<?,?>
ConsoleCommand. job
Job<?,?>
RunRangeCommand. job
Job<?,?>
SetBuildDescriptionCommand. job
Job<?,?>
SetBuildDisplayNameCommand. job
-
Uses of Job in hudson.cli.handlers
Methods in hudson.cli.handlers that return types with arguments of type Job Modifier and Type Method Description protected Class<Job>
JobOptionHandler. type()
Constructor parameters in hudson.cli.handlers with type arguments of type Job Constructor Description JobOptionHandler(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<Job> setter)
-
Uses of Job in hudson.model
Classes in hudson.model with type parameters of type Job Modifier and Type Class Description class
Job<JobT extends Job<JobT,RunT>,RunT extends Run<JobT,RunT>>
A job is an runnable entity under the monitoring of Hudson.class
JobProperty<J extends Job<?,?>>
Extensible property ofJob
.class
Run<JobT extends Job<JobT,RunT>,RunT extends Run<JobT,RunT>>
A particular execution ofJob
.Subclasses of Job in hudson.model Modifier and Type Class Description class
AbstractProject<P extends AbstractProject<P,R>,R extends AbstractBuild<P,R>>
Base implementation ofJob
s that build software.class
FreeStyleProject
Free-style software project.class
Project<P extends Project<P,B>,B extends Build<P,B>>
Buildable software project.class
ViewJob<JobT extends ViewJob<JobT,RunT>,RunT extends Run<JobT,RunT>>
Job
that monitors activities that happen outside Hudson, which requires occasional batch reload activity to obtain the up-to-date information.Fields in hudson.model declared as Job Modifier and Type Field Description protected J
JobProperty. owner
TheJob
object that owns this property.protected JobT
Run. project
Methods in hudson.model that return Job Modifier and Type Method Description Job<?,?>
Fingerprint.BuildPtr. getJob()
Gets theJob
that this pointer points to, or null if such a job no longer exists.Job<?,?>
View.UserInfo. getJob()
Job
RunParameterDefinition. getProject()
Methods in hudson.model that return types with arguments of type Job Modifier and Type Method Description abstract 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()
Methods in hudson.model with parameters of type Job Modifier and Type Method Description boolean
Fingerprint.BuildPtr. belongsTo(Job job)
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.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
Deprecated.Collection<Action>
ParametersDefinitionProperty. getJobActions(Job<?,?> job)
Fingerprint.RangeSet
Fingerprint. getRangeSet(Job job)
abstract FilePath
WorkspaceBrowser. getWorkspace(Job job)
Provide access to job's workspaceboolean
Fingerprint.BuildPtr. is(Job job)
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
Cause.UpstreamCause.DeeplyNestedUpstreamCause. onLoad(Job<?,?> _job, int _buildNumber)
void
Cause.UpstreamCause. onLoad(Job<?,?> _job, int _buildNumber)
boolean
Cause.UpstreamCause. pointsTo(Job<?,?> j)
Returns true if this cause points to a build in the specified job.abstract Run<?,?>
PermalinkProjectAction.Permalink. resolve(Job<?,?> job)
Resolves the permalink to a build.Method parameters in hudson.model with type arguments of type Job Modifier and Type Method Description static 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.scm
Methods in hudson.scm with parameters of type Job Modifier and Type Method Description static List<SCMDescriptor<?>>
SCM. _for(Job project)
Determines which kinds of SCMs are applicable to a given project.PollingResult
NullSCM. compareRemoteRevisionWith(Job<?,?> project, Launcher launcher, FilePath workspace, TaskListener listener, SCMRevisionState baseline)
PollingResult
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
Methods in hudson.security with parameters of type Job Modifier and Type Method Description ACL
AuthorizationStrategy. getACL(Job<?,?> project)
-
Uses of Job in hudson.tasks
Methods in hudson.tasks that return types with arguments of type Job Modifier and Type Method Description List<Job<?,?>>
BuildTrigger. getChildJobs(AbstractProject<?,?> owner)
Methods in hudson.tasks with parameters of type Job Modifier and Type Method Description void
LogRotator. perform(Job<?,?> job)
-
Uses of Job in hudson.util
Methods in hudson.util with type parameters of type Job Modifier and Type Method Description static <J extends Job<J,R>,R extends Run<J,R>>
RunList<R>RunList. fromJobs(Iterable<? extends J> jobs)
Creates a aRunList
combining all the runs of the supplied jobs.Constructors in hudson.util with parameters of type Job Constructor Description RunList(Job j)
Constructor parameters in hudson.util with type arguments of type Job Constructor Description RunList(Collection<? extends Job> jobs)
-
Uses of Job in jenkins.model
Classes in jenkins.model with type parameters of type Job Modifier and Type Class Description class
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.Methods in jenkins.model that return types with arguments of type Job Modifier and Type Method Description Collection<? extends Job>
AbstractTopLevelItem. getAllJobs()
Methods in jenkins.model with parameters of type Job Modifier and Type Method Description ModelObjectWithContextMenu.ContextMenu
ModelObjectWithContextMenu.ContextMenu. add(Job job)
Adds a child item when rendering context menu of its parent.void
GlobalBuildDiscarderStrategy. apply(Job<? extends Job,? extends Run> job)
Applies this build discarder strategy to the given job, i.e.void
JobGlobalBuildDiscarderStrategy. apply(Job<?,?> job)
void
SimpleGlobalBuildDiscarderStrategy. apply(Job<?,?> job)
void
CoreEnvironmentContributor. buildEnvironmentFor(Job j, EnvVars env, TaskListener listener)
File
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
BuildDiscarder. perform(Job<?,?> job)
Called to perform "garbage collection" on the job to discard old build records.static void
BackgroundGlobalBuildDiscarder. processJob(TaskListener listener, Job job)
Run<?,?>
PeepholePermalink. resolve(Job<?,?> job)
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.protected void
PeepholePermalink. updateCache(Job<?,?> job, Run<?,?> b)
Remembers the value 'n' in the cache for futurePeepholePermalink.resolve(Job)
.Method parameters in jenkins.model with type arguments of type Job Modifier and Type Method Description void
GlobalBuildDiscarderStrategy. apply(Job<? extends Job,? extends Run> job)
Applies this build discarder strategy to the given job, i.e. -
Uses of Job in jenkins.model.lazy
Classes in jenkins.model.lazy with type parameters of type Job Modifier and Type Class Description class
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
Classes in jenkins.scm with type parameters of type Job Modifier and Type Interface Description interface
RunWithSCM<JobT extends Job<JobT,RunT>,RunT extends Run<JobT,RunT> & RunWithSCM<JobT,RunT>>
-
Uses of Job in jenkins.tasks
Methods in jenkins.tasks that return types with arguments of type Job Modifier and Type Method Description Class<Job>
SimpleBuildStep.LastBuildActionFactory. type()
Methods in jenkins.tasks with parameters of type Job Modifier and Type Method Description Collection<? extends Action>
SimpleBuildStep.LastBuildActionFactory. createFor(Job j)
-
Uses of Job in jenkins.triggers
Methods in jenkins.triggers with parameters of type Job Modifier and Type Method Description FormValidation
ReverseBuildTrigger.DescriptorImpl. doCheckUpstreamProjects(Job project, String value)
void
ReverseBuildTrigger. start(Job project, boolean newInstance)
-