Package org.activiti.crystalball.simulator.delegate.event.impl

Examples of org.activiti.crystalball.simulator.delegate.event.impl.EventLogTransformer.transform()


    // transform log events
    List<EventLogEntry> eventLogEntries = managementService.getEventLogEntries(null, null);

    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
View Full Code Here


          String processInstanceId = (String) instanceTable.getValue();
          ExplorerApp.get().setCrystalBallCurrentInstanceId(processInstanceId);
          List<EventLogEntry> eventLogEntries = managementService.getEventLogEntriesByProcessInstanceId(processInstanceId);
          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());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.