org.nuiton.jredmine.plugin.report
Class IssuesReportByStatus
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.nuiton.plugin.AbstractPlugin
org.nuiton.jredmine.plugin.AbstractRedmineMojo
org.nuiton.jredmine.plugin.report.AbstractRedmineReport
org.nuiton.jredmine.plugin.report.AbstractIssuesReport
org.nuiton.jredmine.plugin.report.IssuesReportByStatus
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.apache.maven.reporting.MavenReport, org.nuiton.io.rest.RestClientConfiguration, IssueCollectorConfiguration, org.nuiton.plugin.Plugin
public class IssuesReportByStatus
- extends AbstractIssuesReport
Generates a report for issues from Redmine's server group by status.
- Since:
- 1.0.0
- Author:
- tchemit
- Is defined by the goal name:
- issues-report-by-status
| Nested classes/interfaces inherited from interface org.nuiton.plugin.Plugin |
org.nuiton.plugin.Plugin.Packaging |
|
Field Summary |
protected java.lang.String |
columnNamesByStatus
Sets the column names that you want to show in the report. |
protected java.util.Map<java.lang.String,java.lang.String> |
filtersByStatus
Sets some filters on issues to include. |
protected java.lang.String |
issueLinkTemplateByStatus
Template strings per system that is used to discover the URL to use to display an issue report. |
protected int |
maxEntriesByStatus
Maximum number of entries to be fetched from redmine. |
protected boolean |
onlyCurrentVersionByStatus
If you only want to show issues for the current version in the report. |
protected java.lang.String |
versionLinkTemplateByStatus
Template strings per system that is used to discover the URL to use to display an issue report. |
| Fields inherited from class org.nuiton.jredmine.plugin.AbstractRedmineMojo |
dateFormat, encoding, password, project, projectId, REDMINE_SYSTEM, releaseProject, releaseUser, releaseVersion, runOnceDone, safe, service, session, url, username, users, verbose, versionId |
| Fields inherited from class org.nuiton.plugin.AbstractPlugin |
skipAfterInitMessage |
| Fields inherited from interface org.apache.maven.reporting.MavenReport |
CATEGORY_PROJECT_INFORMATION, CATEGORY_PROJECT_REPORTS, ROLE |
| Methods inherited from class org.nuiton.jredmine.plugin.report.AbstractIssuesReport |
checkRunOnceDone, executeReport, getCategoryIds, getDescription, getGroup, getIssueLinkTemplate, getName, getOutputName, getPriorityIds, getProjectId, getStatusIds, getTrackerIds, getVersionId, getVersionLinkTemplate, getVersionNames, init, isGoalSkip, isRunOnce, setVersionId |
| Methods inherited from class org.nuiton.jredmine.plugin.AbstractRedmineMojo |
closeService, execute, getEncoding, getProject, getRestPassword, getRestUrl, getRestUsername, initReleaseProject, initReleaseUser, initReleaseVersion, isRunOnceDone, isSafe, isVerbose, setEncoding, setProject, setRestPassword, setRestUrl, setRestUsername, setSafe, setVerbose |
| Methods inherited from class org.nuiton.plugin.AbstractPlugin |
acceptPackaging, addCompileSourceRoots, addDirectoryToUrlsList, addResourceDir, addTestCompileSourceRoots, addTestResourceDir, addUrlToUrlsList, checkPackaging, checkResource, checkRunOnceDone, copyFile, getFileFromBasedir, getFilesToTreate, getFilesToTreateForRoots, getTemplate, initClassLoader, isExecutionRoot, isFileNewerThanPomFile, rejectPackaging, removeCompileSourceRoots, removeTestCompileSourceRoots, writeFile |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.nuiton.plugin.Plugin |
getProject, isVerbose, setProject, setVerbose |
| Methods inherited from interface org.apache.maven.plugin.Mojo |
execute, getLog, setLog |
| Methods inherited from interface org.nuiton.io.rest.RestClientConfiguration |
getEncoding, getRestPassword, getRestUrl, getRestUsername, isVerbose, setEncoding, setRestPassword, setRestUrl, setRestUsername, setVerbose |
maxEntriesByStatus
protected int maxEntriesByStatus
- Maximum number of entries to be fetched from redmine.
Note: use value 0 to have no limits
- Since:
- 1.0.0
- Is defined by:
- expression:
- ${redmine.maxEntries}
- default-value:
- 100
onlyCurrentVersionByStatus
protected boolean onlyCurrentVersionByStatus
- If you only want to show issues for the current version in the report.
The current version being used is
${project.version} minus
any "-SNAPSHOT" suffix.
- Since:
- 1.0.0
- Is defined by:
- expression:
- ${redmine.onlyCurrentVersion}
- default-value:
- false
filtersByStatus
protected java.util.Map<java.lang.String,java.lang.String> filtersByStatus
- Sets some filters on issues to include.
the possible keys are :
- version : to restrict on version fixed
- status : to restrict on some status
- priority : to restrict on some priorties
- category : to restrict on some categories
- tracker : to restrict on some tracker (says type of issues)
Values are Redmine's internal ids (except for the version entry
which use Redmine's version names).
Multiple values can be separated by commas.
Note : If a value is set to empty - that means to not filter on
that property.
To see the internal ids, use the command :
mvn redmine:display-ids -Dtype=<entry key>
- Since:
- 1.0.0
- Is defined by:
columnNamesByStatus
protected java.lang.String columnNamesByStatus
- Sets the column names that you want to show in the report. The columns
will appear in the report in the same order as you specify them here.
Multiple values can be separated by commas.
Valid columns are: Key, Summary,
Status, Assignee,
Reporter, Tracker, Priority,
Version, Category, Created and
Updated.
- Since:
- 2.0
- Is defined by:
- expression:
- ${redmine.columnNames}
- default-value:
- Tracker,Category,Key,Summary,Status,Assignee,Version
issueLinkTemplateByStatus
protected java.lang.String issueLinkTemplateByStatus
- Template strings per system that is used to discover the URL to use to display an issue report. Each key in this
map denotes the (case-sensitive) identifier of the issue tracking system and its value gives the URL template.
There are 2 template tokens you can use. %URL%: this is computed by getting the
<issueManagement>/<url> value from the POM, and removing the last '/'
and everything that comes after it. %ISSUE%: this is the issue number.
- Since:
- 1.0.0
- Is defined by:
- expression:
- ${redmine.issueLinkTemplate}
versionLinkTemplateByStatus
protected java.lang.String versionLinkTemplateByStatus
- Template strings per system that is used to discover the URL to use to display an issue report. Each key in this
map denotes the (case-sensitive) identifier of the issue tracking system and its value gives the URL template.
There are 2 template tokens you can use. %URL%: this is computed by getting the
<issueManagement>/<url> value from the POM, and removing the last '/'
and everything that comes after it. %VERSION%: this is the issue number.
- Since:
- 1.0.0
- Is defined by:
- expression:
- ${redmine.versionLinkTemplate}
IssuesReportByStatus
public IssuesReportByStatus()
isOnlyCurrentVersion
public boolean isOnlyCurrentVersion()
getMaxEntries
public int getMaxEntries()
getColumnNames
protected java.lang.String getColumnNames()
- Specified by:
getColumnNames in class AbstractIssuesReport
getFilters
protected java.util.Map<java.lang.String,java.lang.String> getFilters()
- Specified by:
getFilters in class AbstractIssuesReport
Copyright © 2009 CodeLutin. All Rights Reserved.