org.squashtest.csp.core.bugtracker.internal.mantis
Class MantisAxis1SoapClient
java.lang.Object
org.squashtest.csp.core.bugtracker.internal.mantis.MantisAxis1SoapClient
public class MantisAxis1SoapClient
- extends Object
Provides a soap client to a mantis bugtracker
- Author:
- Gregory Fouquet
|
Constructor Summary |
MantisAxis1SoapClient(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 |
MantisAxis1SoapClient
public MantisAxis1SoapClient(org.squashtest.csp.core.bugtracker.domain.BugTracker bugTracker)
setMantisExceptionConverter
public void setMantisExceptionConverter(MantisExceptionConverter converter)
getService
public MantisConnectPortType getService()
getSeverities
public ObjectRef[] getSeverities(org.squashtest.csp.core.bugtracker.net.AuthenticationCredentials credentials)
- Returns:
- the list of severities as
ObjectRefs
getPriorities
public ObjectRef[] getPriorities(org.squashtest.csp.core.bugtracker.net.AuthenticationCredentials credentials)
findProjects
public ProjectData[] findProjects(org.squashtest.csp.core.bugtracker.net.AuthenticationCredentials credentials)
findVersions
public ProjectVersionData[] findVersions(org.squashtest.csp.core.bugtracker.net.AuthenticationCredentials credentials,
BigInteger projectId)
getAccessLevel
public ObjectRef[] getAccessLevel(org.squashtest.csp.core.bugtracker.net.AuthenticationCredentials credentials)
findUsersForProject
public AccountData[] findUsersForProject(org.squashtest.csp.core.bugtracker.net.AuthenticationCredentials credentials,
BigInteger projectId,
BigInteger access)
findCategories
public String[] findCategories(org.squashtest.csp.core.bugtracker.net.AuthenticationCredentials credentials,
BigInteger projectId)
createIssue
public BigInteger createIssue(org.squashtest.csp.core.bugtracker.net.AuthenticationCredentials credentials,
IssueData issue)
getIssue
public IssueData getIssue(org.squashtest.csp.core.bugtracker.net.AuthenticationCredentials credentials,
BigInteger issueId)
- This method returns Mantis issue data corresponding to a given issue id
- Parameters:
credentials - the connection dataissueId - the given issue ID
getDefaultPriority
public String getDefaultPriority(org.squashtest.csp.core.bugtracker.net.AuthenticationCredentials credentials)
- This method return as a String the ID of the default issue severity
- Parameters:
credentials - the connection data
- Returns:
- the ID of the default priority
Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.