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