Class JobResourceImpl
- java.lang.Object
-
- org.camunda.bpm.engine.rest.sub.runtime.impl.JobResourceImpl
-
- All Implemented Interfaces:
JobResource
public class JobResourceImpl extends Object implements JobResource
-
-
Constructor Summary
Constructors Constructor Description JobResourceImpl(ProcessEngine engine, String jobId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteJob()
void
executeJob()
JobDto
getJob()
String
getStacktrace()
void
recalculateDuedate(boolean creationDateBased)
void
setJobDuedate(JobDuedateDto dto)
void
setJobPriority(PriorityDto dto)
void
setJobRetries(RetriesDto dto)
void
updateSuspensionState(JobSuspensionStateDto dto)
-
-
-
Constructor Detail
-
JobResourceImpl
public JobResourceImpl(ProcessEngine engine, String jobId)
-
-
Method Detail
-
getJob
public JobDto getJob()
- Specified by:
getJob
in interfaceJobResource
-
getStacktrace
public String getStacktrace()
- Specified by:
getStacktrace
in interfaceJobResource
-
setJobRetries
public void setJobRetries(RetriesDto dto)
- Specified by:
setJobRetries
in interfaceJobResource
-
executeJob
public void executeJob()
- Specified by:
executeJob
in interfaceJobResource
-
setJobDuedate
public void setJobDuedate(JobDuedateDto dto)
- Specified by:
setJobDuedate
in interfaceJobResource
-
recalculateDuedate
public void recalculateDuedate(boolean creationDateBased)
- Specified by:
recalculateDuedate
in interfaceJobResource
-
updateSuspensionState
public void updateSuspensionState(JobSuspensionStateDto dto)
- Specified by:
updateSuspensionState
in interfaceJobResource
-
setJobPriority
public void setJobPriority(PriorityDto dto)
- Specified by:
setJobPriority
in interfaceJobResource
-
deleteJob
public void deleteJob()
- Specified by:
deleteJob
in interfaceJobResource
-
-