org.apache.maven.plugin.jira
Class AdaptiveJiraDownloader

java.lang.Object
  extended by org.apache.maven.plugin.jira.AbstractJiraDownloader
      extended by org.apache.maven.plugin.jira.AdaptiveJiraDownloader

public class AdaptiveJiraDownloader
extends AbstractJiraDownloader

Jira downloader that uses REST or RSS, depending. This code is not very attractive. However, JIRA has supported REST for a very long time, and so the fallback is only relevant for people with very old copies of JIRA.


Field Summary
 
Fields inherited from class org.apache.maven.plugin.jira.AbstractJiraDownloader
component, filter, fixVersionIds, jiraDatePattern, jiraPassword, jiraUser, log, nbEntriesMax, onlyCurrentVersion, output, priorityIds, project, proxyHost, proxyPass, proxyPort, proxyUser, resolutionIds, settings, sortColumnNames, statusIds, typeIds, useJql, UTF_8, webPassword, webUser, versionPrefix
 
Constructor Summary
AdaptiveJiraDownloader()
           
 
Method Summary
 void doExecute()
          Execute the query on the JIRA server.
 List<Issue> getIssueList()
           
 boolean isForceClassic()
           
 void setForceClassic(boolean forceClassic)
           
 
Methods inherited from class org.apache.maven.plugin.jira.AbstractJiraDownloader
getFixFor, getLog, getOutput, getProxyInfo, getVersionPrefix, isJiraAuthenticationConfigured, isOnlyCurrentVersion, isUseJql, setComponent, setFilter, setFixVersionIds, setJiraDatePattern, setJiraPassword, setJiraUser, setLog, setMavenProject, setNbEntries, setOnlyCurrentVersion, setOutput, setPriorityIds, setResolutionIds, setSettings, setSortColumnNames, setStatusIds, setTypeIds, setUseJql, setWebPassword, setWebUser, setVersionPrefix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdaptiveJiraDownloader

public AdaptiveJiraDownloader()
Method Detail

doExecute

public void doExecute()
               throws Exception
Description copied from class: AbstractJiraDownloader
Execute the query on the JIRA server.

Specified by:
doExecute in class AbstractJiraDownloader
Throws:
Exception - on error

getIssueList

public List<Issue> getIssueList()
                         throws MojoExecutionException
Specified by:
getIssueList in class AbstractJiraDownloader
Throws:
MojoExecutionException

isForceClassic

public boolean isForceClassic()

setForceClassic

public void setForceClassic(boolean forceClassic)


Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.