Class L10NStatusReport
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.reporting.AbstractMavenReport
org.codehaus.mojo.l10n.L10NStatusReport
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.apache.maven.reporting.MavenMultiPageReport, org.apache.maven.reporting.MavenReport
@Mojo(name="report")
public class L10NStatusReport
extends org.apache.maven.reporting.AbstractMavenReport
A simple report for keeping track of l10n status. It lists all bundle properties
files and the number of properties in them. For a configurable list of locales it also
tracks the progress of localization.
- Since:
- 1.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) classGenerates an overview page with a list of properties bundles and a link to each locale's status.(package private) static classprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanWhether to build an aggregated report at the root, or build individual reports.private static final String[]private static final String[]A list of exclude patterns to use.A list of include patterns to use.A list of locale strings that are to be watched for l10n status.Fields inherited from class org.apache.maven.reporting.AbstractMavenReport
locale, mojoExecution, outputDirectory, outputFormat, outputTimestamp, project, reactorProjects, remoteProjectRepositories, repoSession, siteDirectory, siteRenderer, siteToolFields inherited from interface org.apache.maven.reporting.MavenReport
CATEGORY_PROJECT_INFORMATION, CATEGORY_PROJECT_REPORTS, ROLEFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCollects resource definitions from all projects in reactor.protected voidexecuteReport(Locale locale) private static ResourceBundlegetDescription(Locale locale) Methods inherited from class org.apache.maven.reporting.AbstractMavenReport
closeReport, constructXrefLocation, execute, generate, generate, getCategoryName, getInputEncoding, getLocale, getOutputDirectory, getOutputEncoding, getProject, getReportOutputDirectory, getSink, getSinkFactory, getSiteRenderer, getXrefLocation, isExternalReport, setReportOutputDirectoryMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContextMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.reporting.MavenReport
getOutputPath
-
Field Details
-
locales
-
excludes
-
includes
-
aggregate
@Parameter(defaultValue="false", property="maven.l10n.aggregate") protected boolean aggregateWhether to build an aggregated report at the root, or build individual reports.- Since:
- 1.0.0
-
DEFAULT_INCLUDES
-
EMPTY_STRING_ARRAY
-
-
Constructor Details
-
L10NStatusReport
public L10NStatusReport()
-
-
Method Details
-
canGenerateReport
public boolean canGenerateReport()- Specified by:
canGenerateReportin interfaceorg.apache.maven.reporting.MavenReport- Overrides:
canGenerateReportin classorg.apache.maven.reporting.AbstractMavenReport
-
constructResourceDirs
-
executeReport
- Specified by:
executeReportin classorg.apache.maven.reporting.AbstractMavenReport- Throws:
org.apache.maven.reporting.MavenReportException- See Also:
-
getDescription
-
getName
-
getOutputName
- See Also:
-
getBundle
-