use of org.apache.airavata.workflow.model.component.system.ReceiveComponent in project airavata by apache.
the class ReceiveNode method getComponent.
/**
* @see org.apache.airavata.workflow.model.graph.impl.NodeImpl#getComponent()
*/
@Override
public ReceiveComponent getComponent() {
ReceiveComponent component = (ReceiveComponent) super.getComponent();
if (component == null) {
// The component is null when read from the graph XML.
component = new ReceiveComponent();
setComponent(component);
}
return component;
}
use of org.apache.airavata.workflow.model.component.system.ReceiveComponent in project airavata by apache.
the class ReceiveNode method addOutputPort.
/**
* Adds additional output port.
*/
public void addOutputPort() {
ReceiveComponent component = getComponent();
SystemComponentDataPort outputPort = component.getOutputPort();
SystemDataPort port = outputPort.createPort();
addOutputPort(port);
}
Aggregations