Package org.apache.maven.api.model
Class ReportSet
java.lang.Object
org.apache.maven.api.model.ConfigurationContainer
org.apache.maven.api.model.ReportSet
- All Implemented Interfaces:
- Serializable,- InputLocationTracker
@Experimental
@Generated
@ThreadSafe
@Immutable
public class ReportSet
extends ConfigurationContainer
implements Serializable, InputLocationTracker
Represents a set of reports and configuration to be used to generate them.
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classBuilder class used to create ReportSet instances.
- 
Method SummaryModifier and TypeMethodDescriptiongetId()The unique id for this report set, to be used during POM inheritance and profile injection for merging of report sets.The list of reports from this plugin which should be generated from this set.static ReportSet.BuilderCreates a newReportSetbuilder instance.static ReportSet.BuildernewBuilder(boolean withDefaults) Creates a newReportSetbuilder instance using default values or not.static ReportSet.BuildernewBuilder(ReportSet from) Creates a newReportSetbuilder instance using the specified object as a basis.static ReportSet.BuildernewBuilder(ReportSet from, boolean forceCopy) Creates a newReportSetbuilder instance using the specified object as a basis.static ReportSetCreates a newReportSetinstance.static ReportSetnewInstance(boolean withDefaults) Creates a newReportSetinstance using default values or not.toString()with()Creates a new builder with this object as the basis.withConfiguration(XmlNode configuration) Creates a newReportSetinstance using the specified configuration.Creates a newReportSetinstance using the specified id.withInherited(String inherited) Creates a newReportSetinstance using the specified inherited.withReports(Collection<String> reports) Creates a newReportSetinstance using the specified reports.Methods inherited from class org.apache.maven.api.model.ConfigurationContainergetConfiguration, getInherited, getLocation, isInherited, newBuilder, newBuilderMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.maven.api.model.InputLocationTrackergetLocation
- 
Method Details- 
getIdThe unique id for this report set, to be used during POM inheritance and profile injection for merging of report sets.- Returns:
- a String
 
- 
getReportsThe list of reports from this plugin which should be generated from this set.- Returns:
- a List<String>
 
- 
withCreates a new builder with this object as the basis.- Overrides:
- within class- ConfigurationContainer
- Returns:
- a Builder
 
- 
withInheritedCreates a newReportSetinstance using the specified inherited.- Overrides:
- withInheritedin class- ConfigurationContainer
- Parameters:
- inherited- the new- Stringto use
- Returns:
- a ReportSetwith the specified inherited
 
- 
withConfigurationCreates a newReportSetinstance using the specified configuration.- Overrides:
- withConfigurationin class- ConfigurationContainer
- Parameters:
- configuration- the new- XmlNodeto use
- Returns:
- a ReportSetwith the specified configuration
 
- 
withIdCreates a newReportSetinstance using the specified id.- Parameters:
- id- the new- Stringto use
- Returns:
- a ReportSetwith the specified id
 
- 
withReportsCreates a newReportSetinstance using the specified reports.- Parameters:
- reports- the new- Collection<String>to use
- Returns:
- a ReportSetwith the specified reports
 
- 
newInstanceCreates a newReportSetinstance. Equivalent tonewInstance(true).- Returns:
- a new ReportSet
- See Also:
 
- 
newInstanceCreates a newReportSetinstance using default values or not. Equivalent tonewBuilder(withDefaults).build().- Parameters:
- withDefaults- the boolean indicating whether default values should be used
- Returns:
- a new ReportSet
 
- 
newBuilderCreates a newReportSetbuilder instance. Equivalent tonewBuilder(true).- Returns:
- a new Builder
- See Also:
 
- 
newBuilderCreates a newReportSetbuilder instance using default values or not.- Parameters:
- withDefaults- the boolean indicating whether default values should be used
- Returns:
- a new Builder
 
- 
newBuilderCreates a newReportSetbuilder instance using the specified object as a basis. Equivalent tonewBuilder(from, false).- Parameters:
- from- the- ReportSetinstance to use as a basis
- Returns:
- a new Builder
 
- 
newBuilderCreates a newReportSetbuilder instance using the specified object as a basis.- Parameters:
- from- the- ReportSetinstance to use as a basis
- forceCopy- the boolean indicating if a copy should be forced
- Returns:
- a new Builder
 
- 
toString
 
-