public interface TestService
| Modifier and Type | Method and Description |
|---|---|
com.mongodb.DBObject |
getTestMetadata(String test)
Get the complete metadata for a test
|
com.mongodb.DBObject |
getTestRunMetadata(String test,
String run)
Get the complete metadata for a test run
|
TestRunState |
getTestRunState(String test,
String run)
Retrieve the precise run state for the given test run
|
void |
scheduleTestRun(String test,
String run,
int version,
long scheduled)
Schedule a test run.
|
void |
terminateTestRun(String test,
String run)
Terminate a test run.
|
com.mongodb.DBObject getTestMetadata(String test) throws NotFoundException
test - the name of the testNotFoundException - if the test could not be foundTestRunState getTestRunState(String test, String run) throws NotFoundException
test - the name of the testrun - the name of the test runNotFoundException - if the test run could not be foundcom.mongodb.DBObject getTestRunMetadata(String test, String run) throws NotFoundException
test - the name of the testrun - the name of the test runNotFoundException - if the test run could not be foundvoid scheduleTestRun(String test, String run, int version, long scheduled) throws NotFoundException, RunStateException, ConcurrencyException
test - the name of the testrun - the name of the test runversion - the current version of the test runscheduled - the time at which the test should startNotFoundException - if the test run could not be foundRunStateException - if the test run cannot be scheduled any moreConcurrencyException - if the test run has been modifiedvoid terminateTestRun(String test, String run) throws NotFoundException, RunStateException, ConcurrencyException
test - the name of the testrun - the name of the test runNotFoundException - if the test run could not be foundRunStateException - if the test run cannot be scheduled any moreConcurrencyException - if the test run has been modifiedCopyright © 2005–2018 Alfresco Software. All rights reserved.