Package | Description |
---|---|
org.gitlab4j.api | |
org.gitlab4j.api.models |
Modifier and Type | Method and Description |
---|---|
Job |
JobApi.cancleJob(Object projectIdOrPath,
int jobId)
Cancel specified job in a project.
|
Job |
JobApi.eraseJob(Object projectIdOrPath,
int jobId)
Erase specified job in a project.
|
Job |
JobApi.getJob(Object projectIdOrPath,
int jobId)
Get single job in a project.
|
Job |
JobApi.playJob(Object projectIdOrPath,
int jobId)
Play specified job in a project.
|
Job |
JobApi.retryJob(Object projectIdOrPath,
int jobId)
Retry specified job in a project.
|
Modifier and Type | Method and Description |
---|---|
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.getJobs(Object projectIdOrPath)
Get a list of jobs in a project.
|
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.
|
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.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> |
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.
|
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.
|
Optional<Job> |
JobApi.getOptionalJob(Object projectIdOrPath,
int jobId)
Get single job in a project as an Optional instance.
|
Modifier and Type | Method and Description |
---|---|
Job |
Job.withArtifactsFile(ArtifactsFile artifactsFile) |
Job |
Job.withCommit(Commit commit) |
Job |
Job.withCoverage(String coverage) |
Job |
Job.withCreatedAt(Date createdAt) |
Job |
Job.withFinishedAt(Date finishedAt) |
Job |
Job.withId(Integer id) |
Job |
Job.withName(String name) |
Job |
Job.withPipeline(Pipeline pipeline) |
Job |
Job.withRef(String ref) |
Job |
Job.withRunner(Runner runner) |
Job |
Job.withStage(String stage) |
Job |
Job.withStartedAt(Date startedAt) |
Job |
Job.withStatus(JobStatus status) |
Job |
Job.withTag(Boolean tag) |
Job |
Job.withUser(User user) |
Copyright © 2019. All rights reserved.