org.jboss.dtf.testframework.coordinator
Class NodeList
java.lang.Object
org.jboss.dtf.testframework.coordinator.NodeList
public class NodeList
- extends java.lang.Object
This class represents a row of nodes which map on to an ExecTable row.
Therefore if Action A is in column 1 of the ExecTable this action
would be executed on the node in column 1 of this node list.
Constructor Summary |
NodeList(int numNodes)
Create a node list of specified length |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_nodes
protected TestNodeInterface[] _nodes
_nodeNames
protected java.lang.String[] _nodeNames
NodeList
public NodeList(int numNodes)
- Create a node list of specified length
- Parameters:
numNodes
- The length of the node list.
add
public void add(int position,
TestNodeInterface node)
throws java.rmi.RemoteException
- Add a node to the list at the given position
- Parameters:
position
- The position in the list to add the test node.node
- The test node to add to the list.
- Throws:
java.rmi.RemoteException
get
public TestNodeInterface get(int position)
- Retrieve the node in the list at the given position
- Parameters:
position
- The position in the list to retrieve the node from.
- Returns:
- The test node at the given position.
getName
public java.lang.String getName(int position)