public class JobResourceImpl extends Object implements JobResource
Constructor and Description |
---|
JobResourceImpl(ProcessEngine engine,
String jobId) |
Modifier and Type | Method and 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) |
public JobResourceImpl(ProcessEngine engine, String jobId)
public JobDto getJob()
getJob
in interface JobResource
public String getStacktrace()
getStacktrace
in interface JobResource
public void setJobRetries(RetriesDto dto)
setJobRetries
in interface JobResource
public void executeJob()
executeJob
in interface JobResource
public void setJobDuedate(JobDuedateDto dto)
setJobDuedate
in interface JobResource
public void recalculateDuedate(boolean creationDateBased)
recalculateDuedate
in interface JobResource
public void updateSuspensionState(JobSuspensionStateDto dto)
updateSuspensionState
in interface JobResource
public void setJobPriority(PriorityDto dto)
setJobPriority
in interface JobResource
public void deleteJob()
deleteJob
in interface JobResource
Copyright © 2022. All rights reserved.