org.jboss.dtf.testframework.coordinator
Class NodeManager
java.lang.Object
org.jboss.dtf.testframework.coordinator.NodeManager
public class NodeManager
- extends java.lang.Object
This class is concerned with supplying test managers with the required test node references
required to run a test.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_serviceRegister
protected ServiceRegisterInterface _serviceRegister
_usedNodes
protected java.util.HashMap _usedNodes
_log
protected LogWriter _log
NodeManager
public NodeManager(ServiceRegisterInterface serviceRegister,
java.util.HashMap usedNodes,
LogWriter log)
- Create a node manager
- Parameters:
serviceRegister
- The service register to retrieve the node references from.usedNodes
- A hashmap of the nodes used to run tests.log
- The logwriter to log information to.
retrievePermutationGenerator
public final PermutationGenerator retrievePermutationGenerator(TestDefinition test,
ExecTable taskExecTable)
- This method uses the exec table and the OS/Product combinations specified in the Test object
to generate the testnode permutation codes
retrieveExecTable
public final void retrieveExecTable(TestDefinition testDefinition,
ExecTable taskExecTable)
retrieveNodeList
public void retrieveNodeList(PermutationCode permutationCode,
ExecTable taskExecTable,
NodeList nodeList)
throws ResourceAllocationFailure
- Throws:
ResourceAllocationFailure