@Transactional @Service(value="squashtest.tm.service.AutomatedTestService") public class AutomatedTestManagerServiceImpl extends Object implements UnsecuredAutomatedTestManagerService
| Constructor and Description |
|---|
AutomatedTestManagerServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.squashtest.tm.domain.testautomation.TestAutomationProject |
findProjectById(long projectId) |
Collection<TestAutomationProjectContent> |
listTestsInProjects(Collection<org.squashtest.tm.domain.testautomation.TestAutomationProject> projects)
Given a collection of
TestAutomationProject, will return the aggregated list of AutomatedTest
paired with their owner project. |
org.squashtest.tm.domain.testautomation.AutomatedTest |
persistOrAttach(org.squashtest.tm.domain.testautomation.AutomatedTest newTest)
Will persist this test if really new, or return the persisted instance if this test already exists.
|
void |
removeIfUnused(org.squashtest.tm.domain.testautomation.AutomatedTest test)
Will remove the test from the database, if and only if no TestCase nor AutomatedExecutionExtender still refer to
it.
|
void |
setAsyncTaskExecutor(org.springframework.core.task.AsyncTaskExecutor executor) |
@Inject @Transactional(propagation=SUPPORTS) public void setAsyncTaskExecutor(org.springframework.core.task.AsyncTaskExecutor executor)
public org.squashtest.tm.domain.testautomation.TestAutomationProject findProjectById(long projectId)
findProjectById in interface UnsecuredAutomatedTestManagerServicepublic org.squashtest.tm.domain.testautomation.AutomatedTest persistOrAttach(org.squashtest.tm.domain.testautomation.AutomatedTest newTest)
UnsecuredAutomatedTestManagerServicepersistOrAttach in interface UnsecuredAutomatedTestManagerServicepublic void removeIfUnused(org.squashtest.tm.domain.testautomation.AutomatedTest test)
UnsecuredAutomatedTestManagerServiceremoveIfUnused in interface UnsecuredAutomatedTestManagerServicepublic Collection<TestAutomationProjectContent> listTestsInProjects(Collection<org.squashtest.tm.domain.testautomation.TestAutomationProject> projects)
AutomatedTestFinderServiceTestAutomationProject, will return the aggregated list of AutomatedTest
paired with their owner project.listTestsInProjects in interface AutomatedTestFinderServiceCopyright © 2010–2017 Henix, henix.fr. All rights reserved.