Package org.apache.maven.api.model
Class Reporting
java.lang.Object
org.apache.maven.api.model.Reporting
- All Implemented Interfaces:
- Serializable,- InputLocationTracker
@Experimental
@Generated
@ThreadSafe
@Immutable
public class Reporting
extends Object
implements Serializable, InputLocationTracker
Section for management of reports and their configuration.
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classBuilder class used to create Reporting instances.
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedReporting(Reporting.Builder builder) Constructor for this class, to be called from its subclasses andReporting.Builder.
- 
Method SummaryModifier and TypeMethodDescriptionIf true, then the default reports are not included in the site generation.Gets the input location that caused this model to be read.getLocation(Object key) Gets the location of the specified field in the input source.Gets the keys of the locations of the input source.Where to store all the generated reports.The reporting plugins to use and their configuration.booleanstatic Reporting.BuilderCreates a newReportingbuilder instance.static Reporting.BuildernewBuilder(boolean withDefaults) Creates a newReportingbuilder instance using default values or not.static Reporting.BuildernewBuilder(Reporting from) Creates a newReportingbuilder instance using the specified object as a basis.static Reporting.BuildernewBuilder(Reporting from, boolean forceCopy) Creates a newReportingbuilder instance using the specified object as a basis.static ReportingCreates a newReportinginstance.static ReportingnewInstance(boolean withDefaults) Creates a newReportinginstance using default values or not.with()Creates a new builder with this object as the basis.withExcludeDefaults(String excludeDefaults) Creates a newReportinginstance using the specified excludeDefaults.withOutputDirectory(String outputDirectory) Creates a newReportinginstance using the specified outputDirectory.withPlugins(Collection<ReportPlugin> plugins) Creates a newReportinginstance using the specified plugins.
- 
Constructor Details- 
ReportingConstructor for this class, to be called from its subclasses andReporting.Builder.- See Also:
 
 
- 
- 
Method Details- 
getExcludeDefaultsIf 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:
- a String
 
- 
getOutputDirectoryWhere to store all the generated reports. The default is${project.build.directory}/site.- Returns:
- a String
 
- 
getPluginsThe reporting plugins to use and their configuration.- Returns:
- a List<ReportPlugin>
 
- 
getLocationGets the location of the specified field in the input source.- Specified by:
- getLocationin interface- InputLocationTracker
 
- 
getLocationKeysGets the keys of the locations of the input source.
- 
getImportedFromGets the input location that caused this model to be read.- Specified by:
- getImportedFromin interface- InputLocationTracker
- Returns:
- InputLocation
 
- 
withCreates a new builder with this object as the basis.- Returns:
- a Builder
 
- 
withExcludeDefaultsCreates a newReportinginstance using the specified excludeDefaults.- Parameters:
- excludeDefaults- the new- Stringto use
- Returns:
- a Reportingwith the specified excludeDefaults
 
- 
withOutputDirectoryCreates a newReportinginstance using the specified outputDirectory.- Parameters:
- outputDirectory- the new- Stringto use
- Returns:
- a Reportingwith the specified outputDirectory
 
- 
withPluginsCreates a newReportinginstance using the specified plugins.- Parameters:
- plugins- the new- Collection<ReportPlugin>to use
- Returns:
- a Reportingwith the specified plugins
 
- 
newInstanceCreates a newReportinginstance. Equivalent tonewInstance(true).- Returns:
- a new Reporting
- See Also:
 
- 
newInstanceCreates a newReportinginstance using default values or not. Equivalent tonewBuilder(withDefaults).build().- Parameters:
- withDefaults- the boolean indicating whether default values should be used
- Returns:
- a new Reporting
 
- 
newBuilderCreates a newReportingbuilder instance. Equivalent tonewBuilder(true).- Returns:
- a new Builder
- See Also:
 
- 
newBuilderCreates a newReportingbuilder instance using default values or not.- Parameters:
- withDefaults- the boolean indicating whether default values should be used
- Returns:
- a new Builder
 
- 
newBuilderCreates a newReportingbuilder instance using the specified object as a basis. Equivalent tonewBuilder(from, false).- Parameters:
- from- the- Reportinginstance to use as a basis
- Returns:
- a new Builder
 
- 
newBuilderCreates a newReportingbuilder instance using the specified object as a basis.- Parameters:
- from- the- Reportinginstance to use as a basis
- forceCopy- the boolean indicating if a copy should be forced
- Returns:
- a new Builder
 
- 
isExcludeDefaultspublic boolean isExcludeDefaults()
 
-