@Override public void runBatch(List<WorkflowInstanceDescr<?>> wfInstanceDescr) throws CopperException { for (WorkflowInstanceDescr<?> wfInstanceDesc : wfInstanceDescr) { monitoringDataCollector.submitAdapterWfLaunch(wfInstanceDesc.getWfName(), adapter); } processingEngine.runBatch(wfInstanceDescr); }
@Override public void run(String wfname, Object data) throws CopperException { monitoringDataCollector.submitAdapterWfLaunch(wfname, adapter); processingEngine.run(wfname, data); }