public class JobRestServiceImpl extends AbstractRestProcessEngineAware implements JobRestService
objectMapper, relativeRootResourcePath
processEngine
PATH
Constructor and Description |
---|
JobRestServiceImpl(String engineName,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
JobResource |
getJob(String jobId) |
List<JobDto> |
getJobs(javax.ws.rs.core.UriInfo uriInfo,
Integer firstResult,
Integer maxResults) |
CountResultDto |
getJobsCount(javax.ws.rs.core.UriInfo uriInfo) |
List<JobDto> |
queryJobs(JobQueryDto queryDto,
Integer firstResult,
Integer maxResults) |
CountResultDto |
queryJobsCount(JobQueryDto queryDto) |
BatchDto |
setRetries(SetJobRetriesDto setJobRetriesDto) |
void |
updateSuspensionState(JobSuspensionStateDto dto) |
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
public JobRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public JobResource getJob(String jobId)
getJob
in interface JobRestService
public List<JobDto> getJobs(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
getJobs
in interface JobRestService
public List<JobDto> queryJobs(JobQueryDto queryDto, Integer firstResult, Integer maxResults)
queryJobs
in interface JobRestService
public CountResultDto getJobsCount(javax.ws.rs.core.UriInfo uriInfo)
getJobsCount
in interface JobRestService
public CountResultDto queryJobsCount(JobQueryDto queryDto)
queryJobsCount
in interface JobRestService
public BatchDto setRetries(SetJobRetriesDto setJobRetriesDto)
setRetries
in interface JobRestService
public void updateSuspensionState(JobSuspensionStateDto dto)
updateSuspensionState
in interface JobRestService
Copyright © 2021. All rights reserved.