Search in sources :

Example 1 with EndBlockComponent

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;
}
Also used : EndBlockComponent(org.apache.airavata.workflow.model.component.system.EndBlockComponent)

Example 2 with EndBlockComponent

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

Example 3 with EndBlockComponent

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

Aggregations

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