Search in sources :

Example 1 with EndDoWhileComponent

use of org.apache.airavata.workflow.model.component.system.EndDoWhileComponent in project airavata by apache.

the class EndDoWhileNode method addOutputPort.

/**
 * Adds additional output port.
 */
public void addOutputPort() {
    EndDoWhileComponent component = getComponent();
    ComponentDataPort outputPort = component.getOutputPort();
    DataPort port = outputPort.createPort();
    addOutputPort(port);
}
Also used : DataPort(org.apache.airavata.workflow.model.graph.DataPort) ComponentDataPort(org.apache.airavata.workflow.model.component.ComponentDataPort) EndDoWhileComponent(org.apache.airavata.workflow.model.component.system.EndDoWhileComponent) ComponentDataPort(org.apache.airavata.workflow.model.component.ComponentDataPort)

Example 2 with EndDoWhileComponent

use of org.apache.airavata.workflow.model.component.system.EndDoWhileComponent in project airavata by apache.

the class EndDoWhileNode method getComponent.

/**
 * @see org.apache.airavata.workflow.model.graph.impl.NodeImpl#getComponent()
 */
@Override
public EndDoWhileComponent getComponent() {
    EndDoWhileComponent component = (EndDoWhileComponent) super.getComponent();
    if (component == null) {
        // The component is null when read from the graph XML.
        component = new EndDoWhileComponent();
        setComponent(component);
    }
    return component;
}
Also used : EndDoWhileComponent(org.apache.airavata.workflow.model.component.system.EndDoWhileComponent)

Example 3 with EndDoWhileComponent

use of org.apache.airavata.workflow.model.component.system.EndDoWhileComponent 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);
}
Also used : DataPort(org.apache.airavata.workflow.model.graph.DataPort) ComponentDataPort(org.apache.airavata.workflow.model.component.ComponentDataPort) EndDoWhileComponent(org.apache.airavata.workflow.model.component.system.EndDoWhileComponent) ComponentDataPort(org.apache.airavata.workflow.model.component.ComponentDataPort)

Aggregations

EndDoWhileComponent (org.apache.airavata.workflow.model.component.system.EndDoWhileComponent)3 ComponentDataPort (org.apache.airavata.workflow.model.component.ComponentDataPort)2 DataPort (org.apache.airavata.workflow.model.graph.DataPort)2