/** * Receive a single data event from an upstream process. This method is only * ever called on the first layer in the IterationStrategyStackImpl, other * layers are passed entire Job objects * * @param inputPortName * @param owningProcess * @param indexArray * @param dataReference * @throws WorkflowStructureException */ public void receiveData(String inputPortName, String owningProcess, int[] indexArray, T2Reference dataReference, InvocationContext context) throws WorkflowStructureException { Map<String, T2Reference> dataMap = new HashMap<String, T2Reference>(); dataMap.put(inputPortName, dataReference); Job newJob = new Job(owningProcess, indexArray, dataMap, context); nodeForName(inputPortName).receiveJob(0, newJob); }
/** * Receive a single data event from an upstream process. This method is only * ever called on the first layer in the IterationStrategyStackImpl, other * layers are passed entire Job objects * * @param inputPortName * @param owningProcess * @param indexArray * @param dataReference * @throws WorkflowStructureException */ public void receiveData(String inputPortName, String owningProcess, int[] indexArray, EntityIdentifier dataReference, InvocationContext context) throws WorkflowStructureException { Map<String, EntityIdentifier> dataMap = new HashMap<String, EntityIdentifier>(); dataMap.put(inputPortName, dataReference); Job newJob = new Job(owningProcess, indexArray, dataMap, context); nodeForName(inputPortName).receiveJob(0, newJob); }
/** * Receive a single data event from an upstream process. This method is only * ever called on the first layer in the IterationStrategyStackImpl, other * layers are passed entire Job objects * * @param inputPortName * @param owningProcess * @param indexArray * @param dataReference * @throws WorkflowStructureException */ public void receiveData(String inputPortName, String owningProcess, int[] indexArray, T2Reference dataReference, InvocationContext context) throws WorkflowStructureException { Map<String, T2Reference> dataMap = new HashMap<String, T2Reference>(); dataMap.put(inputPortName, dataReference); Job newJob = new Job(owningProcess, indexArray, dataMap, context); nodeForName(inputPortName).receiveJob(0, newJob); }