Uses of Class
org.gitlab4j.api.models.Job
| Package | Description |
|---|---|
| org.gitlab4j.api | |
| org.gitlab4j.api.models | |
| org.gitlab4j.api.webhook |
-
Uses of Job in org.gitlab4j.api
Methods in org.gitlab4j.api that return Job Modifier and Type Method Description JobJobApi. cancelJob(Object projectIdOrPath, Integer jobId)Cancel specified job in a project.JobJobApi. cancleJob(Object projectIdOrPath, Integer jobId)Deprecated.JobJobApi. eraseJob(Object projectIdOrPath, Integer jobId)Erase specified job in a project.JobJobApi. getJob(Object projectIdOrPath, Integer jobId)Get single job in a project.JobJobApi. keepArtifacts(Object projectIdOrPath, Integer jobId)Prevents artifacts from being deleted when expiration is set.JobJobApi. playJob(Object projectIdOrPath, Integer jobId)Play specified job in a project.JobJobApi. retryJob(Object projectIdOrPath, Integer jobId)Retry specified job in a project.Methods in org.gitlab4j.api that return types with arguments of type Job Modifier and Type Method Description List<Job>JobApi. getJobs(Object projectIdOrPath)Get a list of jobs in a project.Pager<Job>JobApi. getJobs(Object projectIdOrPath, int itemsPerPage)Get a Pager of jobs in a project.List<Job>JobApi. getJobs(Object projectIdOrPath, int page, int perPage)Get a list of jobs in a project in the specified page range.List<Job>JobApi. getJobs(Object projectIdOrPath, Constants.JobScope scope)Get a list of jobs in a project.Pager<Job>JobApi. getJobs(Object projectIdOrPath, Constants.JobScope scope, int itemsPerPage)Get a list of jobs in a project.List<Job>RunnersApi. getJobs(Integer runnerId)List jobs that are being processed or were processed by specified Runner.Pager<Job>RunnersApi. getJobs(Integer runnerId, int itemsPerPage)List jobs that are being processed or were processed by specified Runner.List<Job>RunnersApi. getJobs(Integer runnerId, JobStatus status)List jobs that are being processed or were processed by specified Runner.Pager<Job>RunnersApi. getJobs(Integer runnerId, JobStatus status, int itemsPerPage)List jobs that are being processed or were processed by specified Runner.List<Job>JobApi. getJobsForPipeline(Object projectIdOrPath, int pipelineId)Get a list of jobs in a pipeline.List<Job>JobApi. getJobsForPipeline(Object projectIdOrPath, int pipelineId, Constants.JobScope scope)Get a list of jobs in a pipeline.Stream<Job>JobApi. getJobsStream(Object projectIdOrPath)Get a Stream of jobs in a project.Stream<Job>JobApi. getJobsStream(Object projectIdOrPath, Constants.JobScope scope)Get a Stream of jobs in a project.Stream<Job>RunnersApi. getJobsStream(Integer runnerId)Get a Stream of jobs that are being processed or were processed by specified Runner.Stream<Job>RunnersApi. getJobsStream(Integer runnerId, JobStatus status)Get a Stream of jobs that are being processed or were processed by specified Runner.Optional<Job>JobApi. getOptionalJob(Object projectIdOrPath, Integer jobId)Get single job in a project as an Optional instance. -
Uses of Job in org.gitlab4j.api.models
Methods in org.gitlab4j.api.models that return Job Modifier and Type Method Description JobJob. withAllowFailure(Boolean allowFailure)JobJob. withArtifactsFile(ArtifactsFile artifactsFile)JobJob. withCommit(Commit commit)JobJob. withCoverage(String coverage)JobJob. withCreatedAt(Date createdAt)JobJob. withDuration(Float duration)JobJob. withFinishedAt(Date finishedAt)JobJob. withId(Integer id)JobJob. withManual(Boolean manual)JobJob. withName(String name)JobJob. withPipeline(Pipeline pipeline)JobJob. withProject(Project project)JobJob. withRef(String ref)JobJob. withRunner(Runner runner)JobJob. withStage(String stage)JobJob. withStartedAt(Date startedAt)JobJob. withStatus(JobStatus status)JobJob. withTag(Boolean tag)JobJob. withUser(User user)JobJob. withWhen(String when) -
Uses of Job in org.gitlab4j.api.webhook
Methods in org.gitlab4j.api.webhook that return types with arguments of type Job Modifier and Type Method Description List<Job>PipelineEvent. getJobs()Method parameters in org.gitlab4j.api.webhook with type arguments of type Job Modifier and Type Method Description voidPipelineEvent. setJobs(List<Job> jobs)
JobApi.cancelJob(Object, Integer)