Package edu.indiana.extreme.xbaya.graph.amazon

Examples of edu.indiana.extreme.xbaya.graph.amazon.TerminateInstanceNode


        } else if (GraphSchema.NODE_TYPE_ENDBLOCK.equals(type)) {
            node = new EndBlockNode(nodeElement);
        } else if (GraphSchema.NODE_TYPE_INSTANCE.equals(type)) {
            node = new InstanceNode(nodeElement);
        } else if (GraphSchema.NODE_TYPE_TERMINATE.equals(type)) {
            node = new TerminateInstanceNode(nodeElement);
        } else {
            // Default is WsNode for backward compatibility.
            node = new WSNode(nodeElement);
        }
        return node;
View Full Code Here


  /**
   * @see edu.indiana.extreme.xbaya.component.Component#createNode(edu.indiana.extreme.xbaya.graph.Graph)
   */
  @Override
  public Node createNode(Graph graph) {
    TerminateInstanceNode node = new TerminateInstanceNode(graph);

    node.setName(NAME);
    node.setComponent(this);

    // Creates a unique ID for the node. This has to be after setName().
    node.createID();

    createPorts(node);

    return node;
  }
View Full Code Here

TOP

Related Classes of edu.indiana.extreme.xbaya.graph.amazon.TerminateInstanceNode

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.