Class JobResourceImpl
- java.lang.Object
-
- org.camunda.bpm.engine.rest.sub.runtime.impl.JobResourceImpl
-
- All Implemented Interfaces:
JobResource
public class JobResourceImpl extends java.lang.Object implements JobResource
-
-
Constructor Summary
Constructors Constructor Description JobResourceImpl(ProcessEngine engine, java.lang.String jobId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteJob()
void
executeJob()
JobDto
getJob()
java.lang.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, java.lang.String jobId)
-
-
Method Detail
-
getJob
public JobDto getJob()
- Specified by:
getJob
in interfaceJobResource
-
getStacktrace
public java.lang.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
-
-