|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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 Log |
log
Log for debug output. |
protected Map<String,String> |
priorityMap
Mapping containing all allowed JIRA priority values. |
protected Map<String,String> |
resolutionMap
Mapping containing all allowed JIRA resolution values. |
protected Map<String,String> |
statusMap
Mapping containing all allowed JIRA status values. |
protected Map<String,String> |
typeMap
Mapping containing all allowed JIRA type values. |
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()
|
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(Log log)
|
void |
setMavenProject(Object thisProject)
Sets the project. |
void |
setNbEntries(int nbEntries)
Sets the maximum number of Issues to show. |
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(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 |
setWebPassword(String thisWebPassword)
Sets the password for authentication against the webserver. |
void |
setWebUser(String thisWebUser)
Sets the username for authentication against the webserver. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Log log
protected final Map<String,String> statusMap
protected final Map<String,String> resolutionMap
protected final Map<String,String> priorityMap
protected final Map<String,String> typeMap
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 MojoExecutionException
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(Log log)
public void setSettings(Settings settings)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |