Class Node

java.lang.Object
org.arquillian.cube.spi.Node

public class Node extends Object
Node is a node in a tree/graph structure. It is used to draw the graph dependencies of each containers so they can be started in the correct order and in case it is possible in parallel.
  • Method Details

    • from

      public static Node from(String id)
    • getId

      public String getId()
    • addAsParentOf

      public boolean addAsParentOf(Node node)
    • addAsChildOf

      public boolean addAsChildOf(Node node)
    • getParents

      public Set<Node> getParents()
    • hasParent

      public boolean hasParent()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • nodeList

      public String nodeList(Set<Node> nodes)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object