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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getName()
Returns the name.java.lang.Iterable<Node>
getNodes()
Returns the test nodes.long
getTimeFinished()
Returns the time finished.long
getTimeStarted()
Returns the time started.void
setTimeFinished(long timeFinished)
Sets the time finished.void
setTimeStarted(long timeStarted)
Sets the time started.
-
-
-
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
-
-