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

Examples of org.activiti.crystalball.simulator.delegate.event.impl.EventLogTransformer


    taskService.complete(task.getId(), variables);

    // 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


        if (instanceTable.getValue() != null) {
          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

Related Classes of org.activiti.crystalball.simulator.delegate.event.impl.EventLogTransformer

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.