public class Reporting extends Object implements Serializable, Cloneable, InputLocationTracker
Constructor and Description |
---|
Reporting() |
Modifier and Type | Method and Description |
---|---|
void |
addPlugin(ReportPlugin reportPlugin)
Method addPlugin.
|
Reporting |
clone()
Method clone.
|
void |
flushReportPluginMap()
Reset the
reportPluginMap field to null |
String |
getExcludeDefaults()
Get if true, then the default reports are not included in
the site generation.
|
InputLocation |
getLocation(Object key)
Gets the location of the specified field in the input
source.
|
String |
getOutputDirectory()
Get where to store all of the generated reports.
|
List<ReportPlugin> |
getPlugins()
Method getPlugins.
|
Map<String,ReportPlugin> |
getReportPluginsAsMap() |
boolean |
isExcludeDefaults() |
void |
removePlugin(ReportPlugin reportPlugin)
Method removePlugin.
|
void |
setExcludeDefaults(boolean excludeDefaults) |
void |
setExcludeDefaults(String excludeDefaults)
Set if true, then the default reports are not included in
the site generation.
|
void |
setLocation(Object key,
InputLocation location)
Sets the location of the specified field.
|
void |
setOutputDirectory(String outputDirectory)
Set where to store all of the generated reports.
|
void |
setPlugins(List<ReportPlugin> plugins)
Set the reporting plugins to use and their configuration.
|
public Reporting()
public void addPlugin(ReportPlugin reportPlugin)
reportPlugin
- public String getExcludeDefaults()
String
for
technical reasons, the semantic type is actually
Boolean
. Default value is
false
.public InputLocation getLocation(Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
- public String getOutputDirectory()
${project.build.directory}/site
.public List<ReportPlugin> getPlugins()
public void removePlugin(ReportPlugin reportPlugin)
reportPlugin
- public void setExcludeDefaults(String excludeDefaults)
String
for
technical reasons, the semantic type is actually
Boolean
. Default value is
false
.excludeDefaults
- public void setLocation(Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- location
- public void setOutputDirectory(String outputDirectory)
${project.build.directory}/site
.outputDirectory
- public void setPlugins(List<ReportPlugin> plugins)
plugins
- public boolean isExcludeDefaults()
public void setExcludeDefaults(boolean excludeDefaults)
public void flushReportPluginMap()
reportPluginMap
field to null
public Map<String,ReportPlugin> getReportPluginsAsMap()
ReportPlugin#getKey()
as keyReportPlugin.getKey()
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.