org.squashtest.csp.core.bugtracker.internal.mantis
Class MantisConnector
java.lang.Object
org.squashtest.csp.core.bugtracker.internal.mantis.MantisConnector
- All Implemented Interfaces:
- org.squashtest.csp.core.bugtracker.spi.BugTrackerConnector
public class MantisConnector
- extends Object
- implements org.squashtest.csp.core.bugtracker.spi.BugTrackerConnector
Implementation of the BugTrackerConnector for Mantis. Delegates to a unique instance of
- Author:
- Gregory Fouquet
|
Constructor Summary |
MantisConnector(org.squashtest.csp.core.bugtracker.domain.BugTracker bugTracker)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MantisConnector
public MantisConnector(org.squashtest.csp.core.bugtracker.domain.BugTracker bugTracker)
setInterfaceDescriptor
public void setInterfaceDescriptor(org.squashtest.csp.core.bugtracker.spi.BugTrackerInterfaceDescriptor interfaceDescriptor)
setExceptionConverter
public void setExceptionConverter(MantisExceptionConverter converter)
getInterfaceDescriptor
public org.squashtest.csp.core.bugtracker.spi.BugTrackerInterfaceDescriptor getInterfaceDescriptor()
- Specified by:
getInterfaceDescriptor in interface org.squashtest.csp.core.bugtracker.spi.BugTrackerConnector
authenticate
public void authenticate(org.squashtest.csp.core.bugtracker.net.AuthenticationCredentials credentials)
- Specified by:
authenticate in interface org.squashtest.csp.core.bugtracker.spi.BugTrackerConnector
makeViewIssueUrlSuffix
public String makeViewIssueUrlSuffix(String issueId)
- Specified by:
makeViewIssueUrlSuffix in interface org.squashtest.csp.core.bugtracker.spi.BugTrackerConnector
checkCredentials
public void checkCredentials(org.squashtest.csp.core.bugtracker.net.AuthenticationCredentials credentials)
- Specified by:
checkCredentials in interface org.squashtest.csp.core.bugtracker.spi.BugTrackerConnector
getPriorities
public List<org.squashtest.csp.core.bugtracker.domain.Priority> getPriorities()
- Specified by:
getPriorities in interface org.squashtest.csp.core.bugtracker.spi.BugTrackerConnector
getPermissions
public List<org.squashtest.csp.core.bugtracker.domain.Permission> getPermissions()
findProject
public org.squashtest.csp.core.bugtracker.domain.BTProject findProject(String projectName)
- Specified by:
findProject in interface org.squashtest.csp.core.bugtracker.spi.BugTrackerConnector
findProjectById
public org.squashtest.csp.core.bugtracker.domain.BTProject findProjectById(String projectId)
- Specified by:
findProjectById in interface org.squashtest.csp.core.bugtracker.spi.BugTrackerConnector
findVersions
public List<org.squashtest.csp.core.bugtracker.domain.Version> findVersions(String projectName)
- Specified by:
findVersions in interface org.squashtest.csp.core.bugtracker.spi.BugTrackerConnector
findVersionsById
public List<org.squashtest.csp.core.bugtracker.domain.Version> findVersionsById(String projectId)
- Specified by:
findVersionsById in interface org.squashtest.csp.core.bugtracker.spi.BugTrackerConnector
findVersions
public List<org.squashtest.csp.core.bugtracker.domain.Version> findVersions(org.squashtest.csp.core.bugtracker.domain.BTProject project)
- Specified by:
findVersions in interface org.squashtest.csp.core.bugtracker.spi.BugTrackerConnector
findUsers
public List<org.squashtest.csp.core.bugtracker.domain.User> findUsers(String projectName)
- Specified by:
findUsers in interface org.squashtest.csp.core.bugtracker.spi.BugTrackerConnector
findUsersById
public List<org.squashtest.csp.core.bugtracker.domain.User> findUsersById(String projectID)
- Specified by:
findUsersById in interface org.squashtest.csp.core.bugtracker.spi.BugTrackerConnector
findUsers
public List<org.squashtest.csp.core.bugtracker.domain.User> findUsers(org.squashtest.csp.core.bugtracker.domain.BTProject project)
- Specified by:
findUsers in interface org.squashtest.csp.core.bugtracker.spi.BugTrackerConnector
findCategories
public List<org.squashtest.csp.core.bugtracker.domain.Category> findCategories(org.squashtest.csp.core.bugtracker.domain.BTProject project)
- Specified by:
findCategories in interface org.squashtest.csp.core.bugtracker.spi.BugTrackerConnector
createIssue
public org.squashtest.csp.core.bugtracker.domain.BTIssue createIssue(org.squashtest.csp.core.bugtracker.domain.BTIssue issue)
- Specified by:
createIssue in interface org.squashtest.csp.core.bugtracker.spi.BugTrackerConnector
findIssue
public org.squashtest.csp.core.bugtracker.domain.BTIssue findIssue(String key)
- Specified by:
findIssue in interface org.squashtest.csp.core.bugtracker.spi.BugTrackerConnector
findIssues
public List<org.squashtest.csp.core.bugtracker.domain.BTIssue> findIssues(List<String> issueKeyList)
- Specified by:
findIssues in interface org.squashtest.csp.core.bugtracker.spi.BugTrackerConnector
Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.