Package org.activiti.crystalball.simulator

Examples of org.activiti.crystalball.simulator.SimpleEventCalendar


    EventLogTransformer transformer = new EventLogTransformer(getTransformers());

    List<SimulationEvent> simulationEvents = transformer.transform(eventLogEntries);

    SimpleEventCalendar eventCalendar = new SimpleEventCalendar(processEngine.getProcessEngineConfiguration().getClock(), new SimulationEventComparator());
    eventCalendar.addEvents(simulationEvents);

    // replay process instance run
    final SimulationDebugger simRun = new ReplaySimulationRun(processEngine, eventCalendar, getReplayHandlers(processInstance.getId()));

    simRun.init(new NoExecutionVariableScope());
View Full Code Here


          if (eventLogEntries == null || eventLogEntries.isEmpty()) return;
          EventLogTransformer transformer = new EventLogTransformer(getTransformers());
          simulationEvents = transformer.transform(eventLogEntries);
          ExplorerApp.get().setCrystalBallSimulationEvents(simulationEvents);
         
          SimpleEventCalendar eventCalendar = new SimpleEventCalendar(
              ProcessEngines.getDefaultProcessEngine().getProcessEngineConfiguration().getClock(),
              new SimulationEventComparator());
          eventCalendar.addEvents(simulationEvents);
 
          // replay process instance run
          simulationDebugger = new ReplaySimulationRun(ProcessEngines.getDefaultProcessEngine(),
              eventCalendar, getReplayHandlers(processInstanceId));
          ExplorerApp.get().setCrystalBallSimulationDebugger(simulationDebugger);
View Full Code Here

TOP

Related Classes of org.activiti.crystalball.simulator.SimpleEventCalendar

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.