|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CoordinatorInterface
Method Summary | |
---|---|
RunInformation[] |
getCurrentRunInformation()
Retrieve information about the current run in progress. |
SchedulerInterface |
getScheduler()
|
boolean |
isBusy()
Is this coordinator busy? |
boolean |
isRunInProgress(RunUID runId)
Is this run in progress? |
void |
restart()
Restart the coordinator |
void |
run(java.net.URL testDefsURL,
java.net.URL testSelectionsURL,
java.lang.String distributionList,
java.lang.String softwareVersion,
boolean waitToComplete)
Start a test run. |
void |
shutdown()
Shutdown the coordinator |
boolean |
stopRun(boolean waitForTestToComplete,
RunUID runId)
Stops the currently active run. |
Method Detail |
---|
SchedulerInterface getScheduler() throws java.rmi.RemoteException
java.rmi.RemoteException
void run(java.net.URL testDefsURL, java.net.URL testSelectionsURL, java.lang.String distributionList, java.lang.String softwareVersion, boolean waitToComplete) throws java.rmi.RemoteException, CoordinatorBusyException, CannotStartRunException
testDefsURL
- A URL to the test definitions file.testSelectionsURL
- A URL to the test selections file.distributionList
- The email distribution list.softwareVersion
- The software version to log against.
java.rmi.RemoteException
CoordinatorBusyException
CannotStartRunException
boolean stopRun(boolean waitForTestToComplete, RunUID runId) throws CoordinatorIdleException, java.rmi.RemoteException
waitForTestToComplete
- If this parameter is true then the run will stop once
the current test has finished. If false then the run will stop immediately.
java.rmi.RemoteException
CoordinatorIdleException
- If the coordinator isn't currently running any
tests then this exception will be thrown.RunInformation[] getCurrentRunInformation() throws CoordinatorIdleException, java.rmi.RemoteException
java.rmi.RemoteException
CoordinatorIdleException
- If the coordinator is not currently running any tests.boolean isBusy() throws java.rmi.RemoteException
java.rmi.RemoteException
boolean isRunInProgress(RunUID runId) throws java.rmi.RemoteException
runId
-
java.rmi.RemoteException
void restart() throws java.rmi.RemoteException
java.rmi.RemoteException
void shutdown() throws java.rmi.RemoteException
java.rmi.RemoteException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |