public abstract class AbstractLicenseReportMojo
extends org.apache.maven.reporting.AbstractMavenReport
| Constructor and Description |
|---|
AbstractLicenseReportMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
doGenerateReport(Locale locale,
org.apache.maven.doxia.sink.Sink sink)
Generates the report.
|
protected void |
executeReport(Locale locale) |
String |
getDescription(Locale locale) |
String |
getEncoding() |
protected ThirdPartyHelper |
getHelper() |
org.codehaus.plexus.i18n.I18N |
getI18n() |
String |
getName(Locale locale) |
protected String |
getOutputDirectory() |
protected org.apache.maven.project.MavenProject |
getProject() |
protected org.apache.maven.doxia.siterenderer.Renderer |
getSiteRenderer() |
String |
getText(Locale locale,
String key)
Gets the localized message for this report.
|
abstract boolean |
isSkip()
When is sets to
true, will skip execution. |
boolean |
isVerbose() |
canGenerateReport, closeReport, execute, generate, generate, generate, getCategoryName, getReportOutputDirectory, getSink, getSinkFactory, isExternalReport, setReportOutputDirectorygetLog, getPluginContext, setLog, setPluginContextpublic abstract boolean isSkip()
true, will skip execution.
This will take effect in at the very begin of the AbstractMavenReport.execute()
before any initialisation of goal.true if goal will not be executedprotected abstract void doGenerateReport(Locale locale, org.apache.maven.doxia.sink.Sink sink) throws org.apache.maven.reporting.MavenReportException, org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
locale - the locale to generate the report for.sink - the report formatting tool.org.apache.maven.reporting.MavenReportException - when things go wrong.org.apache.maven.plugin.MojoExecutionException - when things go wrong.org.apache.maven.plugin.MojoFailureException - when things go wrong.protected ThirdPartyHelper getHelper()
protected void executeReport(Locale locale) throws org.apache.maven.reporting.MavenReportException
executeReport in class org.apache.maven.reporting.AbstractMavenReportorg.apache.maven.reporting.MavenReportExceptionprotected org.apache.maven.project.MavenProject getProject()
getProject in class org.apache.maven.reporting.AbstractMavenReportprotected String getOutputDirectory()
getOutputDirectory in class org.apache.maven.reporting.AbstractMavenReportprotected org.apache.maven.doxia.siterenderer.Renderer getSiteRenderer()
getSiteRenderer in class org.apache.maven.reporting.AbstractMavenReportpublic String getText(Locale locale, String key)
locale - the locale.key - the message key.public org.codehaus.plexus.i18n.I18N getI18n()
public boolean isVerbose()
public final String getEncoding()
Copyright © 2010–2014 Codehaus. All rights reserved.