Package org.apache.maven.model
Class Reporting
java.lang.Object
org.apache.maven.model.Reporting
- All Implemented Interfaces:
- Serializable,- Cloneable,- InputLocationTracker
Section for management of reports and their configuration.
- Version:
- $Revision$ $Date$
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddPlugin(ReportPlugin reportPlugin) Method addPlugin.clone()Method clone.voidReset thereportPluginMapfield tonullGet if true, then the default reports are not included in the site generation.getLocation(Object key) Gets the location of the specified field in the input source.Get where to store all of the generated reports.Method getPlugins.booleanvoidremovePlugin(ReportPlugin reportPlugin) Method removePlugin.voidsetExcludeDefaults(boolean excludeDefaults) voidsetExcludeDefaults(String excludeDefaults) Set if true, then the default reports are not included in the site generation.voidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidsetOtherLocation(Object key, InputLocation location) 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- 
Reportingpublic Reporting()
 
- 
- 
Method Details- 
addPluginMethod addPlugin.- Parameters:
- reportPlugin- a reportPlugin object.
 
- 
cloneMethod clone.
- 
getExcludeDefaultsGet if true, then the default reports are not included in the site generation. This includes the reports in the "Project Info" menu. Note: While the type of this field isStringfor technical reasons, the semantic type is actuallyBoolean. Default value isfalse.- Returns:
- String
 
- 
getLocationDescription copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- Specified by:
- getLocationin interface- InputLocationTracker
- Parameters:
- key- a key object.
- Returns:
- InputLocation
 
- 
setLocationDescription copied from interface:InputLocationTrackerSets the location of the specified field.- Specified by:
- setLocationin interface- InputLocationTracker
- Parameters:
- key- a key object.
- location- a location object.
 
- 
setOtherLocation- Parameters:
- key- a key object.
- location- a location object.
 
- 
getOutputDirectoryGet where to store all of the generated reports. The default is${project.build.directory}/site.- Returns:
- String
 
- 
getPluginsMethod getPlugins.- Returns:
- List
 
- 
removePluginMethod removePlugin.- Parameters:
- reportPlugin- a reportPlugin object.
 
- 
setExcludeDefaultsSet if true, then the default reports are not included in the site generation. This includes the reports in the "Project Info" menu. Note: While the type of this field isStringfor technical reasons, the semantic type is actuallyBoolean. Default value isfalse.- Parameters:
- excludeDefaults- a excludeDefaults object.
 
- 
setOutputDirectorySet where to store all of the generated reports. The default is${project.build.directory}/site.- Parameters:
- outputDirectory- a outputDirectory object.
 
- 
setPluginsSet the reporting plugins to use and their configuration.- Parameters:
- plugins- a plugins object.
 
- 
isExcludeDefaultspublic boolean isExcludeDefaults()
- 
setExcludeDefaultspublic void setExcludeDefaults(boolean excludeDefaults) 
- 
flushReportPluginMappublic void flushReportPluginMap()Reset thereportPluginMapfield tonull
- 
getReportPluginsAsMap- Returns:
- a Map of plugins field with ReportPlugin#getKey()as key
- See Also:
 
 
-