|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.plugin.jira.AbstractJiraDownloader
public abstract class AbstractJiraDownloader
Gets relevant issues in RSS from a given JIRA installation.
Based on version 1.1.2 and patch by Dr. Spock (MPJIRA-8).
Field Summary | |
---|---|
protected String |
jiraDatePattern
The pattern used to parse dates from the JIRA xml file. |
protected org.apache.maven.plugin.logging.Log |
log
Log for debug output. |
Constructor Summary | |
---|---|
AbstractJiraDownloader()
|
Method Summary | |
---|---|
void |
doExecute()
Execute the query on the JIRA server. |
protected String |
getFixFor()
Override this method if you need to get issues for a specific Fix For. |
List<Issue> |
getIssueList()
|
File |
getOutput()
|
String |
getVersionPrefix()
|
boolean |
isOnlyCurrentVersion()
|
boolean |
isUseJql()
|
void |
setComponent(String theseComponents)
Sets the component(s) to apply to query JIRA. |
void |
setFilter(String thisFilter)
Sets the filter to apply to query to JIRA. |
void |
setFixVersionIds(String theseFixVersionIds)
Sets the fix version id(s) to apply to query JIRA. |
void |
setJiraDatePattern(String jiraDatePattern)
|
void |
setJiraPassword(String thisJiraPassword)
Sets the password to log into a secured JIRA. |
void |
setJiraUser(String thisJiraUser)
Sets the username to log into a secured JIRA. |
void |
setLog(org.apache.maven.plugin.logging.Log log)
|
void |
setMavenProject(Object thisProject)
Sets the project. |
void |
setNbEntries(int nbEntries)
Sets the maximum number of Issues to show. |
void |
setOnlyCurrentVersion(boolean onlyCurrentVersion)
|
void |
setOutput(File thisOutput)
Set the output file for the log. |
void |
setPriorityIds(String thisPriorityIds)
Sets the priorityIds. |
void |
setResolutionIds(String thisResolutionIds)
Sets the resolutionIds. |
void |
setSettings(org.apache.maven.settings.Settings settings)
|
void |
setSortColumnNames(String thisSortColumnNames)
Sets the sort column names. |
void |
setStatusIds(String thisStatusIds)
Sets the statusIds. |
void |
setTypeIds(String theseTypeIds)
Sets the typeIds. |
void |
setUseJql(boolean useJql)
|
void |
setWebPassword(String thisWebPassword)
Sets the password for authentication against the webserver. |
void |
setWebUser(String thisWebUser)
Sets the username for authentication against the webserver. |
void |
setVersionPrefix(String versionPrefix)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.apache.maven.plugin.logging.Log log
protected String jiraDatePattern
Constructor Detail |
---|
public AbstractJiraDownloader()
Method Detail |
---|
public void doExecute() throws Exception
Exception
- on errorprotected String getFixFor()
null
if you don't have that needpublic List<Issue> getIssueList() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public void setJiraDatePattern(String jiraDatePattern)
public void setOutput(File thisOutput)
thisOutput
- the output filepublic File getOutput()
public void setMavenProject(Object thisProject)
thisProject
- The project to setpublic void setNbEntries(int nbEntries)
nbEntries
- The maximum number of Issuespublic void setStatusIds(String thisStatusIds)
thisStatusIds
- The id(s) of the status to show, as comma separated stringpublic void setPriorityIds(String thisPriorityIds)
thisPriorityIds
- The id(s) of the priority to show, as comma separated stringpublic void setResolutionIds(String thisResolutionIds)
thisResolutionIds
- The id(s) of the resolution to show, as comma separated stringpublic void setSortColumnNames(String thisSortColumnNames)
thisSortColumnNames
- The column names to sort bypublic void setWebPassword(String thisWebPassword)
thisWebPassword
- The password of the webserverpublic void setWebUser(String thisWebUser)
thisWebUser
- The username of the webserverpublic void setJiraPassword(String thisJiraPassword)
thisJiraPassword
- The password for JIRApublic void setJiraUser(String thisJiraUser)
thisJiraUser
- The username for JIRApublic void setFilter(String thisFilter)
thisFilter
- The filter to query JIRApublic void setComponent(String theseComponents)
theseComponents
- The id(s) of components to show, as comma separated stringpublic void setFixVersionIds(String theseFixVersionIds)
theseFixVersionIds
- The id(s) of fix versions to show, as comma separated stringpublic void setTypeIds(String theseTypeIds)
theseTypeIds
- The id(s) of the types to show, as comma separated stringpublic void setLog(org.apache.maven.plugin.logging.Log log)
public void setSettings(org.apache.maven.settings.Settings settings)
public boolean isUseJql()
public void setUseJql(boolean useJql)
public boolean isOnlyCurrentVersion()
public void setOnlyCurrentVersion(boolean onlyCurrentVersion)
public String getVersionPrefix()
public void setVersionPrefix(String versionPrefix)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |