org.squashtest.tm.plugin.testautomation.jenkins
Class TestAutomationJenkinsConnector
java.lang.Object
org.squashtest.tm.plugin.testautomation.jenkins.TestAutomationJenkinsConnector
- All Implemented Interfaces:
- org.squashtest.tm.service.testautomation.spi.TestAutomationConnector
@Service(value="plugin.testautomation.jenkins.connector")
public class TestAutomationJenkinsConnector
- extends Object
- implements org.squashtest.tm.service.testautomation.spi.TestAutomationConnector
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestAutomationJenkinsConnector
public TestAutomationJenkinsConnector()
setTaskScheduler
@ServiceReference
public void setTaskScheduler(org.springframework.scheduling.TaskScheduler taskScheduler)
getConnectorKind
public String getConnectorKind()
- Specified by:
getConnectorKind in interface org.squashtest.tm.service.testautomation.spi.TestAutomationConnector
checkCredentials
public boolean checkCredentials(org.squashtest.tm.domain.testautomation.TestAutomationServer server)
- Specified by:
checkCredentials in interface org.squashtest.tm.service.testautomation.spi.TestAutomationConnector
listProjectsOnServer
public 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
- Specified by:
listProjectsOnServer in interface org.squashtest.tm.service.testautomation.spi.TestAutomationConnector
- 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
listTestsInProject
public 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
- Specified by:
listTestsInProject in interface org.squashtest.tm.service.testautomation.spi.TestAutomationConnector
- 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
public 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
- Specified by:
executeTests in interface org.squashtest.tm.service.testautomation.spi.TestAutomationConnector
- 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
public 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
- Specified by:
executeTests in interface org.squashtest.tm.service.testautomation.spi.TestAutomationConnector
- 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
public 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
- Specified by:
getResultURLs in interface org.squashtest.tm.service.testautomation.spi.TestAutomationConnector
- 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
Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.