use of org.apache.airavata.workflow.model.graph.DataPort in project airavata by apache.
the class DoWhileNode method addInputPortAndReturn.
public DataPort addInputPortAndReturn() {
DoWhileComponent component = getComponent();
ComponentDataPort input = component.getInputPort();
DataPort port = input.createPort();
addInputPort(port);
return port;
}
use of org.apache.airavata.workflow.model.graph.DataPort in project airavata by apache.
the class EndBlockNode method addInputPort.
/**
* Adds additional input port.
*/
public void addInputPort() {
EndBlockComponent component = getComponent();
ComponentDataPort input = component.getInputPort();
DataPort port = input.createPort();
addInputPort(port);
}
use of org.apache.airavata.workflow.model.graph.DataPort in project airavata by apache.
the class EndBlockNode method removeOutputPort.
/**
* Removes the last output port.
*
* @throws GraphException
*/
public void removeOutputPort() throws GraphException {
List<DataPort> outputPorts = getOutputPorts();
// Remove the last one.
DataPort outputPort = outputPorts.get(outputPorts.size() - 1);
removeOutputPort(outputPort);
}
use of org.apache.airavata.workflow.model.graph.DataPort in project airavata by apache.
the class EndDoWhileNode method removeOutputPort.
/**
* Removes the last output port.
*
* @throws GraphException
*/
public void removeOutputPort() throws GraphException {
List<DataPort> outputPorts = getOutputPorts();
// Remove the last one.
DataPort outputPort = outputPorts.get(outputPorts.size() - 1);
removeOutputPort(outputPort);
}
use of org.apache.airavata.workflow.model.graph.DataPort in project airavata by apache.
the class EndDoWhileNode method addInputPort.
/**
* Adds additional input port.
*/
public void addInputPort() {
EndDoWhileComponent component = getComponent();
ComponentDataPort input = component.getInputPort();
DataPort port = input.createPort();
addInputPort(port);
}
Aggregations