Package com.catify.processengine.core.data.dataobjects

Examples of com.catify.processengine.core.data.dataobjects.TimerBean


   * @param processInstanceId the process instance id
   * @param timeToFire the list of time to fire
   */
  private void saveTimers(String processInstanceId, List<Long> timeToFire) {
    for (Long longToFire : timeToFire) {
      this.timerSPI.saveTimer(new TimerBean(longToFire, this.getSelf().toString(), processInstanceId));
    }
  }
View Full Code Here


   *
   * @param timeToFire the time to fire
   */
  private void saveTimers(List<Long> timeToFire) {
    for (Long longToFire : timeToFire) {
      this.timerSPI.saveTimer(new TimerBean(longToFire, this.getSelf().toString(), UUID.randomUUID().toString()));
    }
  }
View Full Code Here

   * @return the list of timer beans
   */
  private List<TimerBean> createTimerBeans(List<TimerEntity> timerEntities) {
    List<TimerBean> timerBeans = new ArrayList<TimerBean>()
    for (TimerEntity timerEntity : timerEntities) {
      timerBeans.add(new TimerBean(timerEntity.getTimeToFire(), timerEntity.getActorRef(), timerEntity.getProcessInstanceId()));
    }
    return timerBeans;
  }
View Full Code Here

TOP

Related Classes of com.catify.processengine.core.data.dataobjects.TimerBean

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.