public class TestRunServicesCache extends Object implements LifecycleListener
| Constructor and Description |
|---|
TestRunServicesCache(MongoTestDAO dao) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
deleteTestRun(String test,
String run)
Deletes the collections of the test run and the extra data from MongoDB
|
DataReportService |
getDataReportService(String test,
String run)
Returns the data report service or null if no data report service is configured.
|
EventService |
getEventService(String test,
String run)
Get the
EventService for the given test run |
ResultService |
getResultService(String test,
String run)
Get the
ResultService for the given test run |
SessionService |
getSessionService(String test,
String run)
Get the
SessionService for the given test run |
MongoTestDAO |
getTestDAO()
Get the
MongoTestDAO for the given test run |
TestService |
getTestService()
Get the
TestService for the given test run |
void |
start() |
void |
stop() |
public TestRunServicesCache(MongoTestDAO dao)
dao - provides access to the state of a specific test runpublic void start()
start in interface LifecycleListenerpublic void stop()
stop in interface LifecycleListenerpublic MongoTestDAO getTestDAO()
MongoTestDAO for the given test runpublic TestService getTestService()
TestService for the given test runpublic ResultService getResultService(String test, String run)
ResultService for the given test runpublic EventService getEventService(String test, String run)
EventService for the given test runpublic SessionService getSessionService(String test, String run)
SessionService for the given test runpublic DataReportService getDataReportService(String test, String run)
test - (String) test namerun - (String) test run nameCopyright © 2005–2018 Alfresco Software. All rights reserved.