Package org.camunda.bpm.engine.rest.impl
Class JobRestServiceImpl
- java.lang.Object
-
- org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
-
- 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 class org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
processEngine
-
Fields inherited from interface org.camunda.bpm.engine.rest.JobRestService
PATH
-
-
Constructor Summary
Constructors Constructor Description JobRestServiceImpl(java.lang.String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobResource
getJob(java.lang.String jobId)
java.util.List<JobDto>
getJobs(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults)
CountResultDto
getJobsCount(javax.ws.rs.core.UriInfo uriInfo)
java.util.List<JobDto>
queryJobs(JobQueryDto queryDto, java.lang.Integer firstResult, java.lang.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
-
-
-
-
Method Detail
-
getJob
public JobResource getJob(java.lang.String jobId)
- Specified by:
getJob
in interfaceJobRestService
-
getJobs
public java.util.List<JobDto> getJobs(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults)
- Specified by:
getJobs
in interfaceJobRestService
-
queryJobs
public java.util.List<JobDto> queryJobs(JobQueryDto queryDto, java.lang.Integer firstResult, java.lang.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
-
-