Package org.camunda.bpm.engine.rest.impl
Class JobRestServiceImpl
- java.lang.Object
-
- org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
-
- org.camunda.bpm.engine.rest.impl.JobRestServiceImpl
-
- All Implemented Interfaces:
JobRestService
public class JobRestServiceImpl extends AbstractRestProcessEngineAware implements JobRestService
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
objectMapper, relativeRootResourcePath
-
Fields inherited from interface org.camunda.bpm.engine.rest.JobRestService
PATH
-
-
Constructor Summary
Constructors Constructor Description JobRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
-
-
-
-
Constructor Detail
-
JobRestServiceImpl
public JobRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Detail
-
getJob
public JobResource getJob(String jobId)
- Specified by:
getJob
in interfaceJobRestService
-
getJobs
public List<JobDto> getJobs(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
- Specified by:
getJobs
in interfaceJobRestService
-
queryJobs
public List<JobDto> queryJobs(JobQueryDto queryDto, Integer firstResult, Integer maxResults)
- Specified by:
queryJobs
in interfaceJobRestService
-
getJobsCount
public CountResultDto getJobsCount(javax.ws.rs.core.UriInfo uriInfo)
- Specified by:
getJobsCount
in interfaceJobRestService
-
queryJobsCount
public CountResultDto queryJobsCount(JobQueryDto queryDto)
- Specified by:
queryJobsCount
in interfaceJobRestService
-
setRetries
public BatchDto setRetries(SetJobRetriesDto setJobRetriesDto)
- Specified by:
setRetries
in interfaceJobRestService
-
updateSuspensionState
public void updateSuspensionState(JobSuspensionStateDto dto)
- Specified by:
updateSuspensionState
in interfaceJobRestService
-
-