Package org.apache.airavata.workflow.model.component.system

Examples of org.apache.airavata.workflow.model.component.system.DoWhileComponent


   *
   * @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;
  }
View Full Code Here


  /**
   * Adds additional input port.
   */
  public void addInputPort() {
    DoWhileComponent component = getComponent();
    ComponentDataPort input = component.getInputPort();
    DataPort port = input.createPort();
    addInputPort(port);
  }
View Full Code Here

    DataPort port = input.createPort();
    addInputPort(port);
  }

  public DataPort addInputPortAndReturn() {
    DoWhileComponent component = getComponent();
    ComponentDataPort input = component.getInputPort();
    DataPort port = input.createPort();
    addInputPort(port);
    return port;
  }
View Full Code Here

  /**
   * Adds additional output port.
   */
  public void addOutputPort() {
    DoWhileComponent component = getComponent();
    ComponentDataPort outputPort = component.getOutputPort();
    DataPort port = outputPort.createPort();
    addOutputPort(port);
  }
View Full Code Here

        this.componentMap.put(IfComponent.NAME, new IfComponent());
        this.componentMap.put(EndifComponent.NAME, new EndifComponent());
        this.componentMap.put(ReceiveComponent.NAME, new ReceiveComponent());
        this.componentMap.put(ForEachComponent.NAME, new ForEachComponent());
        this.componentMap.put(EndForEachComponent.NAME, new EndForEachComponent());
        this.componentMap.put(DoWhileComponent.NAME, new DoWhileComponent());
        this.componentMap.put(EndDoWhileComponent.NAME, new EndDoWhileComponent());
        this.componentMap.put(BlockComponent.NAME, new BlockComponent());
        this.componentMap.put(EndBlockComponent.NAME, new EndBlockComponent());
        this.componentMap.put(DynamicComponent.NAME, new DynamicComponent());
        this.componentMap.put(StreamSourceComponent.NAME, new StreamSourceComponent());
View Full Code Here

        this.splitComponent = new ForEachComponent();
        this.mergeComponent = new EndForEachComponent();
        this.ifComponent = new IfComponent();
        this.endifComponent = new EndifComponent();
        this.receiveComponent = new ReceiveComponent();
        this.doWhileComponent = new DoWhileComponent();
        this.endDoWhileComponent = new EndDoWhileComponent();
    }
View Full Code Here

        this.splitComponent = new ForEachComponent();
        this.mergeComponent = new EndForEachComponent();
        this.ifComponent = new IfComponent();
        this.endifComponent = new EndifComponent();
        this.receiveComponent = new ReceiveComponent();
        this.doWhileComponent = new DoWhileComponent();
        this.endDoWhileComponent = new EndDoWhileComponent();
    }
View Full Code Here

TOP

Related Classes of org.apache.airavata.workflow.model.component.system.DoWhileComponent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.