@Path(value="/scheduledjobs")
public interface IJob
Modifier and Type | Method and Description |
---|---|
void |
deleteExecution(int jobExecutionId)
Removes one execution.
|
void |
deleteExecutions(java.util.List<java.lang.Integer> executions)
Removes multiple executions.
|
Job |
getJobFromId(java.lang.String jobId)
Get job using its id
|
java.util.Set<LogEntry> |
getLogs(JobExecution jobExecution,
int offset)
Return the logs of a job.
|
ListResult<JobExecution> |
searchExecution(JobExecutionQuery query)
Fetch recorded job executions.
|
ListResult<Job> |
searchJob(JobQuery query)
List jobs deployed.
|
void |
start(java.lang.String jobId,
java.lang.String domainName)
Get active job using its ID
force-start a job.
|
void |
update(Job job)
Update job planification
JobPlanification |
@POST @Path(value="_searchJob") ListResult<Job> searchJob(JobQuery query) throws ServerFault
query
- ServerFault
@POST @Path(value="_searchExecution") ListResult<JobExecution> searchExecution(JobExecutionQuery query) throws ServerFault
query
- ServerFault
@GET @Path(value="_job/{jobId}") Job getJobFromId(@PathParam(value="jobId") java.lang.String jobId) throws ServerFault
jobId
- ServerFault
@POST @Path(value="_updateJob") void update(Job job) throws ServerFault
JobPlanification
job
- ServerFault
@DELETE @Path(value="_deleteExecution") void deleteExecution(@QueryParam(value="jobExecutionId") int jobExecutionId) throws ServerFault
execution
- ServerFault
@DELETE @Path(value="_deleteExecutions") void deleteExecutions(java.util.List<java.lang.Integer> executions) throws ServerFault
execution
- ServerFault
@POST @Path(value="_start/{jobId}") void start(@PathParam(value="jobId") java.lang.String jobId, @QueryParam(value="domainName") java.lang.String domainName) throws ServerFault
jobId
- ServerFault
@POST @Path(value="_logs") java.util.Set<LogEntry> getLogs(JobExecution jobExecution, @QueryParam(value="offset") int offset) throws ServerFault
execution
- offset
- ServerFault
Copyright © 2021. All Rights Reserved.