Search in sources :

Example 1 with TimerPayload

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;
}
Also used : TimerPayload(org.activiti.api.process.model.payloads.TimerPayload)

Aggregations

TimerPayload (org.activiti.api.process.model.payloads.TimerPayload)1