/** * 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); }
public void receiveCompletion(String inputPortName, String owningProcess, int[] completionArray, InvocationContext context) throws WorkflowStructureException { nodeForName(inputPortName).receiveCompletion(0, new Completion(owningProcess, completionArray, context)); }
public void receiveCompletion(String inputPortName, String owningProcess, int[] completionArray, InvocationContext context) throws WorkflowStructureException { nodeForName(inputPortName).receiveCompletion(0, new Completion(owningProcess, completionArray, context)); }
/** * 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); }
public void receiveCompletion(String inputPortName, String owningProcess, int[] completionArray, InvocationContext context) throws WorkflowStructureException { nodeForName(inputPortName).receiveCompletion(0, new Completion(owningProcess, completionArray, context)); }
/** * 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); }
T2Reference dataRef = j.getData().get(portName); ReferenceService rs = e.getContext().getReferenceService(); NamedInputPortNode ipn = nodeForName(portName); int desiredDepth = ipn.getCardinality(); Iterator<ContextualizedT2Reference> ids = rs.traverseFrom(
EntityIdentifier dataRef = j.getData().get(portName); DataManager manager = e.getContext().getDataManager(); NamedInputPortNode ipn = nodeForName(portName); int desiredDepth = ipn.getCardinality(); Iterator<ContextualizedIdentifier> ids = manager.traverse(
T2Reference dataRef = j.getData().get(portName); ReferenceService rs = e.getContext().getReferenceService(); NamedInputPortNode ipn = nodeForName(portName); int desiredDepth = ipn.getCardinality(); Iterator<ContextualizedT2Reference> ids = rs.traverseFrom(