Class StatusCommandReportMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.reporting.AbstractMavenReport
org.mybatis.maven.mvnmigrate.report.StatusCommandReportMojo
- 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="status-report")
public final class StatusCommandReportMojo
extends org.apache.maven.reporting.AbstractMavenReport
Extends
Class to generate a Maven report.
AbstractMavenReport. Class to generate a Maven report.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanAggregate report results.protected StringEnvironment to configure.protected booleanForces script to continue even if SQL errors are encountered.protected List<org.apache.maven.project.MavenProject> The projects in the reactor for aggregation report.protected FileLocation of migrate repository.protected booleanSkip migration actions.Fields inherited from class org.apache.maven.reporting.AbstractMavenReport
locale, mojoExecution, outputFormat, outputTimestamp, remoteProjectRepositories, repoSession, siteDirectory, 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 TypeMethodDescriptionprotected voidexecuteReport(Locale locale) protected ResourceBundleReturn theResourceBundlegiven the current locale.getDescription(Locale locale) Return the description of the report.Return the name of the report.protected StringReturn the output name of the report.protected org.apache.maven.project.MavenProjectprotected org.apache.maven.doxia.siterenderer.RendererMethods inherited from class org.apache.maven.reporting.AbstractMavenReport
canGenerateReport, closeReport, constructXrefLocation, execute, generate, generate, getCategoryName, getInputEncoding, getLocale, getOutputEncoding, getReportOutputDirectory, getSink, getSinkFactory, getXrefLocation, isExternalReport, setReportOutputDirectoryMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.reporting.MavenReport
getOutputPath
-
Field Details
-
reactorProjects
@Parameter(property="reactorProjects", readonly=true) protected List<org.apache.maven.project.MavenProject> reactorProjectsThe projects in the reactor for aggregation report. -
repository
Location of migrate repository. -
environment
Environment to configure. Default environment is 'development'. -
force
@Parameter(property="migration.force", defaultValue="false") protected boolean forceForces script to continue even if SQL errors are encountered. -
skip
@Parameter(property="migration.skip", defaultValue="false") protected boolean skipSkip migration actions. -
aggregate
@Parameter(property="migration.aggregate", defaultValue="false") protected boolean aggregateAggregate report results.
-
-
Constructor Details
-
StatusCommandReportMojo
public StatusCommandReportMojo()
-
-
Method Details
-
executeReport
- Specified by:
executeReportin classorg.apache.maven.reporting.AbstractMavenReport- Throws:
org.apache.maven.reporting.MavenReportException
-
getOutputDirectory
- Overrides:
getOutputDirectoryin classorg.apache.maven.reporting.AbstractMavenReport
-
getProject
protected org.apache.maven.project.MavenProject getProject()- Overrides:
getProjectin classorg.apache.maven.reporting.AbstractMavenReport
-
getSiteRenderer
protected org.apache.maven.doxia.siterenderer.Renderer getSiteRenderer()- Overrides:
getSiteRendererin classorg.apache.maven.reporting.AbstractMavenReport
-
getOutputName
Return the output name of the report.- Returns:
- the output name.
-
getName
Return the name of the report.- Returns:
- the name of the report.
-
getDescription
Return the description of the report.- Returns:
- the description of the report.
-
getBundle
Return theResourceBundlegiven the current locale.- Parameters:
locale- the current locale.
-