|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.plugin.AbstractMojo org.apache.maven.reporting.AbstractMavenReport de.smartics.maven.issues.AbstractReportMojo de.smartics.maven.issues.AbstractIssuesConnectionMojo
public abstract class AbstractIssuesConnectionMojo
The issues Mojo reports on issues.
Field Summary | |
---|---|
protected String |
buildDirectory The directory to store task data information for the task cache. |
protected boolean |
ignoreLogoutProblem The flag indicates whether ( true ) or not (false ) logout problems from the task repository should be ignored. |
protected String |
issueManagementPassword The password for authentication to access a private installation of a issue management system. |
protected String |
issueManagementSystem The name of the issue management system to connect to. |
protected String |
issueManagementUrl The URL to the issue management system to connect to. |
protected String |
issueManagementUser The name of the user for authentication to access a private installation of a issue management system. |
protected boolean |
logColumns Informs that the column names retrieved by the query should be logged at the end of the query. |
protected int |
maxRetries Maximum number retries to connect to the issue management system. |
protected boolean |
offline In offline mode the plugin will not generate a report. |
protected RepositoryFacadeFactory |
repositoryFacadeFactory The factory creates repository facades to access the issues stored in the issue management system. |
protected String |
repositoryFacadeFactoryClass The directory to store task data information for the task cache. |
protected String |
repositoryVersion Sets the version of the task repository. |
protected boolean |
skip A simple flag to skip the generation of the reports. |
protected long |
timeout The timeout in milliseconds between retries of connection attempts. |
protected String |
webPassword The password for HTTP basic authentication to the issue management webserver. |
protected String |
webUser The name of the user for HTTP basic authentication to the issue management webserver. |
Fields inherited from class de.smartics.maven.issues.AbstractReportMojo |
---|
factory, locale, localRepository, logLevel, outputDirectory, project, resolver, siteRenderer |
Fields inherited from interface org.apache.maven.reporting.MavenReport |
---|
CATEGORY_PROJECT_INFORMATION, CATEGORY_PROJECT_REPORTS, ROLE |
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
AbstractIssuesConnectionMojo() |
Method Summary | ||
---|---|---|
boolean |
canGenerateReport() Checks if all required information is provided to run the report successfully. |
|
protected
|
createInstance(String className) Creates the instance of a class expecting a no-args constructor. |
|
protected abstract QueryData |
createQueryData(ArtifactVersionRange versionRange) Creates the query data that enables to create a query URL to be sent to the issue management system. |
|
protected abstract MavenReportRenderer |
createRenderer(Locale locale, VersionFactory versionFactoryInstance, ArtifactVersionRange versionRange, List<org.eclipse.mylyn.tasks.core.data.TaskData> issues) Creates a renderer. |
|
protected ArtifactVersionRange |
createVersionRange(VersionFactory versionFactoryInstance) |
|
protected void |
executeReport(Locale locale) Configures the plugin logger. |
Methods inherited from class de.smartics.maven.issues.AbstractReportMojo |
---|
execute, getBundle, getOutputDirectory, getProject, getSiteRenderer, provideSink |
Methods inherited from class org.apache.maven.reporting.AbstractMavenReport |
---|
closeReport, generate, getCategoryName, getReportOutputDirectory, getSink, isExternalReport, setReportOutputDirectory |
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.apache.maven.reporting.MavenReport |
---|
getDescription, getName, getOutputName |
Field Detail |
---|
protected boolean offline
protected boolean skip
-Dissues.skip
.
protected String buildDirectory
protected String repositoryFacadeFactoryClass
protected RepositoryFacadeFactory repositoryFacadeFactory
protected String issueManagementSystem
protected String issueManagementUrl
protected String issueManagementUser
protected String issueManagementPassword
protected String webUser
protected String webPassword
protected String repositoryVersion
protected int maxRetries
protected long timeout
protected boolean ignoreLogoutProblem
true
) or not (
false
) logout problems from the task repository should be ignored.
This is a kind of hack that grabs for the string 'Logout' in the exception message reported from the task repository. It may be useful if the task repository's response is quite slow.
protected boolean logColumns
Constructor Detail |
---|
public AbstractIssuesConnectionMojo()
Method Detail |
---|
protected void executeReport(Locale locale) throws MavenReportException
Configures the plugin logger.
executeReport
in class
AbstractReportMojo
AbstractMavenReport.executeReport(java.util.Locale)
MavenReportException
protected ArtifactVersionRange createVersionRange(VersionFactory versionFactoryInstance)
protected abstract QueryData createQueryData(ArtifactVersionRange versionRange)
versionRange
- the version range used to create the query data.
protected abstract MavenReportRenderer createRenderer(Locale locale, VersionFactory versionFactoryInstance, ArtifactVersionRange versionRange, List<org.eclipse.mylyn.tasks.core.data.TaskData> issues) throws MavenReportException
locale
- the locale to use for the report.
issues
- the issues to render.
MavenReportException
- if the renderer cannot be created or configured.
public boolean canGenerateReport()
false
.
canGenerateReport
in interface
MavenReport
canGenerateReport
in class
AbstractMavenReport
true
if a report can be rendered,
false
otherwise.
AbstractMavenReport.canGenerateReport()
protected <T> T createInstance(String className) throws IllegalArgumentException
T
- the type of the instance to be created.
className
- the name of the class to create an instance of.
IllegalArgumentException
- if a problem prevents the creation of the instance.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |