hu.midori.kosmos.server.jira
Class JiraWebCrawlingServiceImpl

java.lang.Object
  extended by hu.midori.kosmos.server.AbstractKosmosService
      extended by hu.midori.kosmos.server.jira.AbstractJiraServiceImpl
          extended by hu.midori.kosmos.server.jira.JiraWebCrawlingServiceImpl
All Implemented Interfaces:
JiraService, TimestampedService, org.springframework.context.ApplicationContextAware

public class JiraWebCrawlingServiceImpl
extends AbstractJiraServiceImpl
implements JiraService

Implementation of the JIRA service.

Downloads JIRA webpages and analyze them using web-crawling techniques. Useful in environments where the JIRA remote API is not enabled.

Version:
$Id$
Author:
Aron Gombas

Field Summary
 
Fields inherited from class hu.midori.kosmos.server.AbstractKosmosService
applicationContext, MAX_LIST_SIZE
 
Constructor Summary
JiraWebCrawlingServiceImpl()
           
 
Method Summary
protected  void connect(java.lang.String url)
          Connects to the given public or secure JIRA URL.
protected  void disconnect(java.lang.String url)
          Disconnects from the given URL.
 java.util.List<JiraProject> getProjects(java.lang.String url)
          Returns the projects from the JIRA server instance.
 
Methods inherited from class hu.midori.kosmos.server.jira.AbstractJiraServiceImpl
generateIssuePerPriorityChart, generateIssuePerStatusChart, generateOpenIssuesPerAssigneeChart
 
Methods inherited from class hu.midori.kosmos.server.AbstractKosmosService
beginStoreSession, endStoreSession, getResourceString, getTimestamp, setApplicationContext, setStore, storeChart, storeFile, trimList, updateTimestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hu.midori.kosmos.protocol.TimestampedService
getTimestamp
 

Constructor Detail

JiraWebCrawlingServiceImpl

public JiraWebCrawlingServiceImpl()
Method Detail

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 void connect(java.lang.String url)
                throws java.net.MalformedURLException
Connects to the given public or secure JIRA URL.

Throws:
java.net.MalformedURLException

disconnect

protected void disconnect(java.lang.String url)
Disconnects from the given URL.