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