org.nuiton.jredmine.plugin.report
Class AbstractIssuesReport
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
- 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
- Direct Known Subclasses:
- IssuesReport, IssuesReportByAssignee, IssuesReportByCategory, IssuesReportByPriority, IssuesReportByReporter, IssuesReportByStatus, IssuesReportByTracker, IssuesReportByVersion
public abstract class AbstractIssuesReport
- extends AbstractRedmineReport
- implements IssueCollectorConfiguration
Abstract Generates a report for issues from Redmine's server
- Since:
- 1.0.0
- Author:
- tchemit
| Nested classes/interfaces inherited from interface org.nuiton.plugin.Plugin |
org.nuiton.plugin.Plugin.InitState, org.nuiton.plugin.Plugin.Packaging |
|
Field Summary |
protected java.lang.String |
group
The meta to group issues (or null if no grouping) |
| Fields inherited from class org.nuiton.jredmine.plugin.AbstractRedmineMojo |
dateFormat, encoding, initOk, password, project, projectId, REDMINE_SYSTEM, releaseProject, releaseUser, releaseVersion, runOnceDone, safe, service, serviceInit, session, url, username, users, verbose, versionId |
| Fields inherited from interface org.apache.maven.reporting.MavenReport |
CATEGORY_PROJECT_INFORMATION, CATEGORY_PROJECT_REPORTS, ROLE |
| Methods inherited from class org.nuiton.jredmine.plugin.AbstractRedmineMojo |
afterExecute, checkSkip, closeService, getEncoding, getProject, getRestPassword, getRestUrl, getRestUsername, initReleaseProject, initReleaseUser, initReleaseVersion, isAnonymous, isRunOnceDone, isSafe, isVerbose, setAnonymous, setEncoding, setProject, setRestPassword, setRestUrl, setRestUsername, setSafe, setVerbose |
| Methods inherited from class org.nuiton.plugin.AbstractPlugin |
acceptPackaging, addCompileSourceRoots, addDirectoryToUrlsList, addResourceDir, addResourceDir, addTestCompileSourceRoots, addTestResourceDir, addTestResourceDir, addUrlToUrlsList, backupFile, checkPackaging, checkResource, checkRunOnceDone, copyFile, createDirectoryIfNecessary, createNewFile, deleteFile, execute, getBackupFile, getFileFromBasedir, getFilesToTreate, getFilesToTreateForRoots, getTemplate, initClassLoader, isExecutionRoot, isFileNewerThanPomFile, rejectPackaging, removeCompileSourceRoots, removeTestCompileSourceRoots, renameFile, 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, isAnonymous, isVerbose, setAnonymous, setEncoding, setRestPassword, setRestUrl, setRestUsername, setVerbose |
group
protected final java.lang.String group
- The meta to group issues (or null if no grouping)
- Since:
- 1.0.0
AbstractIssuesReport
protected AbstractIssuesReport(java.lang.String group)
getColumnNames
protected abstract java.lang.String getColumnNames()
getFilters
protected abstract java.util.Map<java.lang.String,java.lang.String> getFilters()
getOutputName
public final java.lang.String getOutputName()
- Specified by:
getOutputName in interface org.apache.maven.reporting.MavenReport
getName
public final java.lang.String getName(java.util.Locale locale)
- Specified by:
getName in interface org.apache.maven.reporting.MavenReport- Overrides:
getName in class AbstractRedmineReport
getDescription
public final java.lang.String getDescription(java.util.Locale locale)
- Specified by:
getDescription in interface org.apache.maven.reporting.MavenReport- Overrides:
getDescription in class AbstractRedmineReport
isRunOnce
protected boolean isRunOnce()
- Specified by:
isRunOnce in class AbstractRedmineMojo
checkRunOnceDone
protected boolean checkRunOnceDone()
- Specified by:
checkRunOnceDone in class AbstractRedmineMojo
isGoalSkip
protected boolean isGoalSkip()
- Specified by:
isGoalSkip in class AbstractRedmineMojo
init
public void init()
throws java.lang.Exception
- Overrides:
init in class AbstractRedmineMojo
- Throws:
java.lang.Exception
executeReport
public void executeReport(java.util.Locale locale)
throws org.apache.maven.reporting.MavenReportException
- Specified by:
executeReport in class AbstractRedmineReport
- Throws:
org.apache.maven.reporting.MavenReportException
getProjectId
public final java.lang.String getProjectId()
- Specified by:
getProjectId in interface IssueCollectorConfiguration
getVersionId
public final java.lang.String getVersionId()
- Specified by:
getVersionId in interface IssueCollectorConfiguration
setVersionId
public void setVersionId(java.lang.String versionId)
- Specified by:
setVersionId in interface IssueCollectorConfiguration
getCategoryIds
public java.lang.String getCategoryIds()
- Specified by:
getCategoryIds in interface IssueCollectorConfiguration
getVersionNames
public java.lang.String getVersionNames()
- Specified by:
getVersionNames in interface IssueCollectorConfiguration
getPriorityIds
public java.lang.String getPriorityIds()
- Specified by:
getPriorityIds in interface IssueCollectorConfiguration
getStatusIds
public java.lang.String getStatusIds()
- Specified by:
getStatusIds in interface IssueCollectorConfiguration
getTrackerIds
public java.lang.String getTrackerIds()
- Specified by:
getTrackerIds in interface IssueCollectorConfiguration
getGroup
protected final java.lang.String getGroup()
getIssueLinkTemplate
protected final java.lang.String getIssueLinkTemplate()
getVersionLinkTemplate
protected final java.lang.String getVersionLinkTemplate()
Copyright © 2009-2010 CodeLutin. All Rights Reserved.