org.jenkinsci.jira_scraper
Class JiraScraper

java.lang.Object
  extended by org.jenkinsci.jira_scraper.JiraScraper

public class JiraScraper
extends Object

Author:
Kohsuke Kawaguchi

Constructor Summary
JiraScraper()
           
 
Method Summary
 com.gargoylesoftware.htmlunit.WebClient createAuthenticatedSession()
          Creates a conversation that's already logged in as the current user.
 void createComponent(String projectId, String subcomponent, String owner)
          JIRA doesn't have the SOAP API to create a component, so we need to do this via a HTTP POST and page scraping.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraScraper

public JiraScraper()
Method Detail

createComponent

public void createComponent(String projectId,
                            String subcomponent,
                            String owner)
                     throws IOException,
                            SAXException,
                            org.dom4j.DocumentException
JIRA doesn't have the SOAP API to create a component, so we need to do this via a HTTP POST and page scraping.

Throws:
IOException
SAXException
org.dom4j.DocumentException

createAuthenticatedSession

public com.gargoylesoftware.htmlunit.WebClient createAuthenticatedSession()
                                                                   throws org.dom4j.DocumentException,
                                                                          IOException,
                                                                          SAXException
Creates a conversation that's already logged in as the current user.

Throws:
org.dom4j.DocumentException
IOException
SAXException


Copyright © 2004-2011. All Rights Reserved.