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