org.jboss.dtf.testframework.coordinator
Interface CoordinatorInterface

All Superinterfaces:
java.rmi.Remote

public interface CoordinatorInterface
extends java.rmi.Remote


Method Summary
 CoordinatorDescriptor getDescriptor()
          Generates a coordinator descriptor for this coordinator.
 RunUID initialiseTestRun(java.lang.String testDefinitionURL, java.lang.String testSelectionURL, java.lang.String softwareVersion, java.lang.String distributionList, boolean waitTillComplete)
          Initialises the coordinator retrieving the test definitions from the given URL and and the test selections from the given selection XML file
 

Method Detail

initialiseTestRun

RunUID initialiseTestRun(java.lang.String testDefinitionURL,
                         java.lang.String testSelectionURL,
                         java.lang.String softwareVersion,
                         java.lang.String distributionList,
                         boolean waitTillComplete)
                         throws java.rmi.RemoteException,
                                CoordinatorBusy,
                                InvalidDefinitionFile,
                                java.net.MalformedURLException
Initialises the coordinator retrieving the test definitions from the given URL and and the test selections from the given selection XML file

Parameters:
testDefinitionURL - The URL of a test definition XML file.
testSelection - The URL of a test selection XML file.
softwareVersion - A textual version id for the software to be tested.
distributionList - An email distribution list which will be sent the results of this test run on completion.
Returns:
The run id. of the newly created test run.
Throws:
CoordinatorBusy - The coordinator is already running tests.
InvalidDefinitionFile - The test definition file or the test selection file is not valid.
java.net.MalformedURLException - The test definition or the test selection file has a malformed URL.
java.rmi.RemoteException

getDescriptor

CoordinatorDescriptor getDescriptor()
                                    throws java.rmi.RemoteException
Generates a coordinator descriptor for this coordinator.

Throws:
java.rmi.RemoteException