Class JobDefinitionResourceImpl
- java.lang.Object
-
- org.camunda.bpm.engine.rest.sub.management.JobDefinitionResourceImpl
-
- All Implemented Interfaces:
JobDefinitionResource
public class JobDefinitionResourceImpl extends java.lang.Object implements JobDefinitionResource
- Author:
- roman.smirnov
-
-
Field Summary
Fields Modifier and Type Field Description protected ProcessEngine
engine
protected java.lang.String
jobDefinitionId
-
Constructor Summary
Constructors Constructor Description JobDefinitionResourceImpl(ProcessEngine engine, java.lang.String jobDefinitionId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobDefinitionDto
getJobDefinition()
void
setJobPriority(JobDefinitionPriorityDto dto)
void
setJobRetries(RetriesDto dto)
void
updateSuspensionState(JobDefinitionSuspensionStateDto dto)
-
-
-
Field Detail
-
engine
protected ProcessEngine engine
-
jobDefinitionId
protected java.lang.String jobDefinitionId
-
-
Constructor Detail
-
JobDefinitionResourceImpl
public JobDefinitionResourceImpl(ProcessEngine engine, java.lang.String jobDefinitionId)
-
-
Method Detail
-
getJobDefinition
public JobDefinitionDto getJobDefinition()
- Specified by:
getJobDefinition
in interfaceJobDefinitionResource
-
updateSuspensionState
public void updateSuspensionState(JobDefinitionSuspensionStateDto dto)
- Specified by:
updateSuspensionState
in interfaceJobDefinitionResource
-
setJobRetries
public void setJobRetries(RetriesDto dto)
- Specified by:
setJobRetries
in interfaceJobDefinitionResource
-
setJobPriority
public void setJobPriority(JobDefinitionPriorityDto dto)
- Specified by:
setJobPriority
in interfaceJobDefinitionResource
-
-