Interface Node


  • public interface Node
    Represents a node in a test. This can be either a container, a test or both.
    Since:
    1.1
    • Method Detail

      • getName

        java.lang.String getName()
        Returns the name.
        Returns:
        the name
        Since:
        1.1
      • getNodes

        java.lang.Iterable<Node> getNodes()
        Returns the test nodes.
        Returns:
        the test nodes
      • getTimeFinished

        long getTimeFinished()
        Returns the time finished.
        Returns:
        the time finished
        Since:
        1.1
      • getTimeStarted

        long getTimeStarted()
        Returns the time started.
        Returns:
        the time started
        Since:
        1.1
      • setTimeFinished

        void setTimeFinished​(long timeFinished)
        Sets the time finished.
        Parameters:
        timeFinished - the time finished
        Since:
        1.1
      • setTimeStarted

        void setTimeStarted​(long timeStarted)
        Sets the time started.
        Parameters:
        timeStarted - the time started
        Since:
        1.1