Class Reporting
java.lang.Object
org.apache.maven.model.Reporting
- All Implemented Interfaces:
Serializable
Section for management of reports and their configuration.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPlugin(ReportPlugin reportPlugin) Method addPlugin.voidReset thereportPluginMapfield tonullGet where to store all of the generated reports.Method getPlugins.booleanGet if true, then the default reports are not included in the site generation.voidremovePlugin(ReportPlugin reportPlugin) Method removePlugin.voidsetExcludeDefaults(boolean excludeDefaults) voidsetExcludeDefaultsValue(Boolean excludeDefaultsValue) Set if true, then the default reports are not included in the site generation.voidsetExcludeDefaultsValue(String excludeDefaults) voidsetOutputDirectory(String outputDirectory) Set where to store all of the generated reports.voidsetPlugins(List<ReportPlugin> plugins) Set the reporting plugins to use and their configuration.
-
Constructor Details
-
Reporting
public Reporting()
-
-
Method Details
-
addPlugin
Method addPlugin.- Parameters:
reportPlugin- a reportPlugin object.
-
getOutputDirectory
Get where to store all of the generated reports. The default is${project.build.directory}/site.- Returns:
- String
-
getPlugins
-
isExcludeDefaultsValue
Get if true, then the default reports are not included in the site generation. This includes the reports in the "Project Info" menu.- Returns:
- Boolean
-
removePlugin
Method removePlugin.- Parameters:
reportPlugin- a reportPlugin object.
-
setExcludeDefaultsValue
Set if true, then the default reports are not included in the site generation. This includes the reports in the "Project Info" menu.- Parameters:
excludeDefaultsValue- a excludeDefaultsValue object.
-
setOutputDirectory
Set where to store all of the generated reports. The default is${project.build.directory}/site.- Parameters:
outputDirectory- a outputDirectory object.
-
setPlugins
Set the reporting plugins to use and their configuration.- Parameters:
plugins- a plugins object.
-
flushReportPluginMap
public void flushReportPluginMap()Reset thereportPluginMapfield tonull -
getReportPluginsAsMap
- Returns:
- a Map of plugins field with
ReportPlugin#getKey()as key - See Also:
-
isExcludeDefaults
public boolean isExcludeDefaults() -
setExcludeDefaults
public void setExcludeDefaults(boolean excludeDefaults) -
setExcludeDefaultsValue
-