Search in sources :

Example 1 with TimerJobEntityImpl

use of org.activiti.engine.impl.persistence.entity.TimerJobEntityImpl in project Activiti by Activiti.

the class JobExecutorTestCase method createTweetTimer.

protected TimerJobEntity createTweetTimer(String msg, Date duedate) {
    TimerJobEntity timer = new TimerJobEntityImpl();
    timer.setJobType(JobEntity.JOB_TYPE_TIMER);
    timer.setJobHandlerType("tweet");
    timer.setJobHandlerConfiguration(msg);
    timer.setDuedate(duedate);
    return timer;
}
Also used : TimerJobEntity(org.activiti.engine.impl.persistence.entity.TimerJobEntity) TimerJobEntityImpl(org.activiti.engine.impl.persistence.entity.TimerJobEntityImpl)

Aggregations

TimerJobEntity (org.activiti.engine.impl.persistence.entity.TimerJobEntity)1 TimerJobEntityImpl (org.activiti.engine.impl.persistence.entity.TimerJobEntityImpl)1