use of org.apache.airavata.workflow.model.component.system.ForEachComponent in project airavata by apache.
the class ForEachNode method addOutputPort.
/**
* Adds additional output port.
*/
public void addOutputPort() {
ForEachComponent component = getComponent();
ComponentDataPort outputPort = component.getOutputPort();
DataPort port = outputPort.createPort();
addOutputPort(port);
}
use of org.apache.airavata.workflow.model.component.system.ForEachComponent in project airavata by apache.
the class ForEachNode method getComponent.
/**
* @return
*/
@Override
public ForEachComponent getComponent() {
ForEachComponent component = (ForEachComponent) super.getComponent();
if (component == null) {
// The component is null when read from the graph XML.
component = new ForEachComponent();
setComponent(component);
}
return component;
}
use of org.apache.airavata.workflow.model.component.system.ForEachComponent in project airavata by apache.
the class ForEachNode method addInputPort.
/**
* Adds additional input port.
*/
public void addInputPort() {
ForEachComponent component = getComponent();
ComponentDataPort input = component.getInputPort();
DataPort port = input.createPort();
addInputPort(port);
}
use of org.apache.airavata.workflow.model.component.system.ForEachComponent in project airavata by apache.
the class ForEachNode method addInputPortAndReturn.
public DataPort addInputPortAndReturn() {
ForEachComponent component = getComponent();
ComponentDataPort input = component.getInputPort();
DataPort port = input.createPort();
addInputPort(port);
return port;
}
Aggregations