hu.midori.kosmos.server.jira
Class JiraSoapServiceImpl
java.lang.Object
hu.midori.kosmos.server.AbstractKosmosService
hu.midori.kosmos.server.jira.AbstractJiraServiceImpl
hu.midori.kosmos.server.jira.JiraSoapServiceImpl
- All Implemented Interfaces:
- JiraService, TimestampedService, org.springframework.context.ApplicationContextAware
public class JiraSoapServiceImpl
- extends AbstractJiraServiceImpl
- implements JiraService
Implementation of the JIRA service.
Uses the JIRA SOAP remote API. Because of the limitations
of the JIRA API (there is no getAllIssues()
or
getAllIssuesByProject(), and no getProjectById()
,
it downloads all issues from a saved filter
defined by its name, downloads all projects and then sorts
the issues for projects.
- Version:
- $Id$
- Author:
- Aron Gombas
Method Summary |
protected java.lang.String |
connect(java.lang.String url)
Connects to the JIRA SOAP service. |
protected void |
disconnect(java.lang.String token)
Disconnects from the given JIRA SOAP service. |
java.util.List<JiraProject> |
getProjects(java.lang.String url)
Returns the projects from the JIRA server instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JiraSoapServiceImpl
public JiraSoapServiceImpl()
getProjects
public java.util.List<JiraProject> getProjects(java.lang.String url)
- Description copied from interface:
JiraService
- Returns the projects from the JIRA server instance.
- Specified by:
getProjects
in interface JiraService
- Parameters:
url
- shows to a JIRA server instance (eg. http://jira.atlassian.com
).
connect
protected java.lang.String connect(java.lang.String url)
throws java.net.MalformedURLException,
javax.xml.rpc.ServiceException,
java.rmi.RemoteException
- Connects to the JIRA SOAP service.
- Returns:
- the session token after a successful connection.
- Throws:
java.net.MalformedURLException
javax.xml.rpc.ServiceException
java.rmi.RemoteException
disconnect
protected void disconnect(java.lang.String token)
throws java.rmi.RemoteException
- Disconnects from the given JIRA SOAP service.
- Throws:
java.rmi.RemoteException