public class BasicEventForwardingOutputPort extends AbstractOutputPort implements EventForwardingOutputPort
Modifier and Type | Field and Description |
---|---|
protected Set<org.apache.taverna.workflowmodel.impl.DatalinkImpl> |
outgoingLinks |
granularDepth
depth, name
Constructor and Description |
---|
BasicEventForwardingOutputPort(String portName,
int portDepth,
int granularDepth)
Construct a new abstract output port with event forwarding capability
|
Modifier and Type | Method and Description |
---|---|
protected void |
addOutgoingLink(org.apache.taverna.workflowmodel.impl.DatalinkImpl link) |
Set<? extends Datalink> |
getOutgoingLinks()
Implements EventForwardingOutputPort
|
protected void |
removeOutgoingLink(Datalink link) |
void |
sendEvent(WorkflowDataToken e)
Forward the specified event to all targets
|
protected void |
setDepth(int depth) |
protected void |
setGranularDepth(int granularDepth) |
protected void |
setName(String name) |
getGranularDepth
getDepth, getName, toString
getAddAnnotationEdit, getAnnotations, getRemoveAnnotationEdit, setAnnotations
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGranularDepth
getAddAnnotationEdit, getAnnotations, getRemoveAnnotationEdit, setAnnotations
protected Set<org.apache.taverna.workflowmodel.impl.DatalinkImpl> outgoingLinks
public BasicEventForwardingOutputPort(String portName, int portDepth, int granularDepth)
portName
- portDepth
- granularDepth
- public final Set<? extends Datalink> getOutgoingLinks()
getOutgoingLinks
in interface EventForwardingOutputPort
public void sendEvent(WorkflowDataToken e)
e
- protected void addOutgoingLink(org.apache.taverna.workflowmodel.impl.DatalinkImpl link)
protected void removeOutgoingLink(Datalink link)
protected void setDepth(int depth)
protected void setGranularDepth(int granularDepth)
protected void setName(String name)
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.