org.camunda.bpm.engine.rest.sub.runtime.impl
Class JobResourceImpl

java.lang.Object
  extended by org.camunda.bpm.engine.rest.sub.runtime.impl.JobResourceImpl
All Implemented Interfaces:
JobResource

public class JobResourceImpl
extends Object
implements JobResource


Constructor Summary
JobResourceImpl(ProcessEngine engine, String jobId)
           
 
Method Summary
 void deleteJob()
           
 void executeJob()
           
 JobDto getJob()
           
 String getStacktrace()
           
 void setJobDuedate(JobDuedateDto dto)
           
 void setJobPriority(PriorityDto dto)
           
 void setJobRetries(RetriesDto dto)
           
 void updateSuspensionState(JobSuspensionStateDto dto)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobResourceImpl

public JobResourceImpl(ProcessEngine engine,
                       String jobId)
Method Detail

getJob

public JobDto getJob()
Specified by:
getJob in interface JobResource

getStacktrace

public String getStacktrace()
Specified by:
getStacktrace in interface JobResource

setJobRetries

public void setJobRetries(RetriesDto dto)
Specified by:
setJobRetries in interface JobResource

executeJob

public void executeJob()
Specified by:
executeJob in interface JobResource

setJobDuedate

public void setJobDuedate(JobDuedateDto dto)
Specified by:
setJobDuedate in interface JobResource

updateSuspensionState

public void updateSuspensionState(JobSuspensionStateDto dto)
Specified by:
updateSuspensionState in interface JobResource

setJobPriority

public void setJobPriority(PriorityDto dto)
Specified by:
setJobPriority in interface JobResource

deleteJob

public void deleteJob()
Specified by:
deleteJob in interface JobResource


Copyright © 2016 camunda services GmbH. All rights reserved.