org.squashtest.tm.plugin.testautomation.jenkins
@Service(value="plugin.testautomation.jenkins.connector") public class TestAutomationJenkinsConnector extends Object implements org.squashtest.tm.service.testautomation.spi.TestAutomationConnector
| Constructor and Description |
|---|
TestAutomationJenkinsConnector() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkCredentials(org.squashtest.tm.domain.testautomation.TestAutomationServer server) |
void |
executeTests(Collection<org.squashtest.tm.domain.testautomation.AutomatedTest> tests,
String reference) |
void |
executeTests(Collection<org.squashtest.tm.domain.testautomation.AutomatedTest> tests,
String reference,
org.squashtest.tm.service.testautomation.TestAutomationCallbackService callbackService) |
String |
getConnectorKind() |
Map<org.squashtest.tm.domain.testautomation.AutomatedTest,URL> |
getResultURLs(Collection<org.squashtest.tm.domain.testautomation.AutomatedTest> tests,
String reference) |
Collection<org.squashtest.tm.domain.testautomation.TestAutomationProject> |
listProjectsOnServer(org.squashtest.tm.domain.testautomation.TestAutomationServer server) |
Collection<org.squashtest.tm.domain.testautomation.AutomatedTest> |
listTestsInProject(org.squashtest.tm.domain.testautomation.TestAutomationProject project) |
void |
setTaskScheduler(org.springframework.scheduling.TaskScheduler taskScheduler) |
@ServiceReference public void setTaskScheduler(org.springframework.scheduling.TaskScheduler taskScheduler)
public String getConnectorKind()
getConnectorKind in interface org.squashtest.tm.service.testautomation.spi.TestAutomationConnectorpublic boolean checkCredentials(org.squashtest.tm.domain.testautomation.TestAutomationServer server)
checkCredentials in interface org.squashtest.tm.service.testautomation.spi.TestAutomationConnectorpublic Collection<org.squashtest.tm.domain.testautomation.TestAutomationProject> listProjectsOnServer(org.squashtest.tm.domain.testautomation.TestAutomationServer server) throws org.squashtest.tm.service.testautomation.spi.ServerConnectionFailed, org.squashtest.tm.service.testautomation.spi.AccessDenied, org.squashtest.tm.service.testautomation.spi.UnreadableResponseException, org.squashtest.tm.service.testautomation.spi.BadConfiguration, org.squashtest.tm.service.testautomation.spi.TestAutomationException
listProjectsOnServer in interface org.squashtest.tm.service.testautomation.spi.TestAutomationConnectororg.squashtest.tm.service.testautomation.spi.ServerConnectionFailedorg.squashtest.tm.service.testautomation.spi.AccessDeniedorg.squashtest.tm.service.testautomation.spi.UnreadableResponseExceptionorg.squashtest.tm.service.testautomation.spi.BadConfigurationorg.squashtest.tm.service.testautomation.spi.TestAutomationExceptionpublic Collection<org.squashtest.tm.domain.testautomation.AutomatedTest> listTestsInProject(org.squashtest.tm.domain.testautomation.TestAutomationProject project) throws org.squashtest.tm.service.testautomation.spi.ServerConnectionFailed, org.squashtest.tm.service.testautomation.spi.AccessDenied, org.squashtest.tm.service.testautomation.spi.UnreadableResponseException, org.squashtest.tm.service.testautomation.spi.NotFoundException, org.squashtest.tm.service.testautomation.spi.BadConfiguration, org.squashtest.tm.service.testautomation.spi.TestAutomationException
listTestsInProject in interface org.squashtest.tm.service.testautomation.spi.TestAutomationConnectororg.squashtest.tm.service.testautomation.spi.ServerConnectionFailedorg.squashtest.tm.service.testautomation.spi.AccessDeniedorg.squashtest.tm.service.testautomation.spi.UnreadableResponseExceptionorg.squashtest.tm.service.testautomation.spi.NotFoundExceptionorg.squashtest.tm.service.testautomation.spi.BadConfigurationorg.squashtest.tm.service.testautomation.spi.TestAutomationExceptionpublic void executeTests(Collection<org.squashtest.tm.domain.testautomation.AutomatedTest> tests, String reference) throws org.squashtest.tm.service.testautomation.spi.ServerConnectionFailed, org.squashtest.tm.service.testautomation.spi.AccessDenied, org.squashtest.tm.service.testautomation.spi.UnreadableResponseException, org.squashtest.tm.service.testautomation.spi.NotFoundException, org.squashtest.tm.service.testautomation.spi.BadConfiguration, org.squashtest.tm.service.testautomation.spi.TestAutomationException
executeTests in interface org.squashtest.tm.service.testautomation.spi.TestAutomationConnectororg.squashtest.tm.service.testautomation.spi.ServerConnectionFailedorg.squashtest.tm.service.testautomation.spi.AccessDeniedorg.squashtest.tm.service.testautomation.spi.UnreadableResponseExceptionorg.squashtest.tm.service.testautomation.spi.NotFoundExceptionorg.squashtest.tm.service.testautomation.spi.BadConfigurationorg.squashtest.tm.service.testautomation.spi.TestAutomationExceptionpublic void executeTests(Collection<org.squashtest.tm.domain.testautomation.AutomatedTest> tests, String reference, org.squashtest.tm.service.testautomation.TestAutomationCallbackService callbackService) throws org.squashtest.tm.service.testautomation.spi.ServerConnectionFailed, org.squashtest.tm.service.testautomation.spi.AccessDenied, org.squashtest.tm.service.testautomation.spi.UnreadableResponseException, org.squashtest.tm.service.testautomation.spi.NotFoundException, org.squashtest.tm.service.testautomation.spi.BadConfiguration, org.squashtest.tm.service.testautomation.spi.TestAutomationException
executeTests in interface org.squashtest.tm.service.testautomation.spi.TestAutomationConnectororg.squashtest.tm.service.testautomation.spi.ServerConnectionFailedorg.squashtest.tm.service.testautomation.spi.AccessDeniedorg.squashtest.tm.service.testautomation.spi.UnreadableResponseExceptionorg.squashtest.tm.service.testautomation.spi.NotFoundExceptionorg.squashtest.tm.service.testautomation.spi.BadConfigurationorg.squashtest.tm.service.testautomation.spi.TestAutomationExceptionpublic Map<org.squashtest.tm.domain.testautomation.AutomatedTest,URL> getResultURLs(Collection<org.squashtest.tm.domain.testautomation.AutomatedTest> tests, String reference) throws org.squashtest.tm.service.testautomation.spi.ServerConnectionFailed, org.squashtest.tm.service.testautomation.spi.AccessDenied, org.squashtest.tm.service.testautomation.spi.UnreadableResponseException, org.squashtest.tm.service.testautomation.spi.NotFoundException, org.squashtest.tm.service.testautomation.spi.BadConfiguration, org.squashtest.tm.service.testautomation.spi.TestAutomationException
getResultURLs in interface org.squashtest.tm.service.testautomation.spi.TestAutomationConnectororg.squashtest.tm.service.testautomation.spi.ServerConnectionFailedorg.squashtest.tm.service.testautomation.spi.AccessDeniedorg.squashtest.tm.service.testautomation.spi.UnreadableResponseExceptionorg.squashtest.tm.service.testautomation.spi.NotFoundExceptionorg.squashtest.tm.service.testautomation.spi.BadConfigurationorg.squashtest.tm.service.testautomation.spi.TestAutomationExceptionCopyright © 2010-2014 Henix, henix.fr. All Rights Reserved.