use of org.activiti.api.process.model.payloads.TimerPayload in project Activiti by Activiti.
the class BPMNTimerConverter method convertToTimerPayload.
public TimerPayload convertToTimerPayload(AbstractJobEntity jobEntity) {
TimerPayload timerPayload = new TimerPayload();
timerPayload.setDuedate(jobEntity.getDuedate());
timerPayload.setEndDate(jobEntity.getEndDate());
timerPayload.setRetries(jobEntity.getRetries());
timerPayload.setMaxIterations(jobEntity.getMaxIterations());
timerPayload.setRepeat(jobEntity.getRepeat());
timerPayload.setExceptionMessage(jobEntity.getExceptionMessage());
return timerPayload;
}
Aggregations