public interface MergeInputPort extends EventHandlingInputPort, MergePort
Modifier and Type | Method and Description |
---|---|
void |
receiveEvent(WorkflowDataToken t)
Receive an arbitrary workflow event.
|
getIncomingLink
getAddAnnotationEdit, getAnnotations, getRemoveAnnotationEdit, setAnnotations
void receiveEvent(WorkflowDataToken t)
If this is a workflow data token and the first such received under a given owning process ID the implementing method also must also store the cardinality, i.e. length of index array + depth of token. Subsequent events are matched to this, if they have unequal cardinality the parent Merge operation will throw a WorkflowStructureException as the merge would result in a collection which violated the constraints defined by the Taverna 2 data model.
receiveEvent
in interface EventHandlingInputPort
e
- arbitrary workflow event, will be forwarded unchanged other
than an alteration of the index array by prefixing the index
of this input port relative to the parent Merge objectCopyright © 2015–2016 The Apache Software Foundation. All rights reserved.