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 Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder class used to create ReportSet instances. -
Method Summary
Modifier 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.ConfigurationContainer
getConfiguration, getInherited, getLocation, isInherited, newBuilder, newBuilderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.maven.api.model.InputLocationTracker
getLocation
-
Method Details
-
getId
The unique id for this report set, to be used during POM inheritance and profile injection for merging of report sets.- Returns:
- a
String
-
getReports
The list of reports from this plugin which should be generated from this set.- Returns:
- a
List<String>
-
with
Creates a new builder with this object as the basis.- Overrides:
within classConfigurationContainer- Returns:
- a
Builder
-
withInherited
Creates a newReportSetinstance using the specified inherited.- Overrides:
withInheritedin classConfigurationContainer- Parameters:
inherited- the newStringto use- Returns:
- a
ReportSetwith the specified inherited
-
withConfiguration
Creates a newReportSetinstance using the specified configuration.- Overrides:
withConfigurationin classConfigurationContainer- Parameters:
configuration- the newXmlNodeto use- Returns:
- a
ReportSetwith the specified configuration
-
withId
Creates a newReportSetinstance using the specified id.- Parameters:
id- the newStringto use- Returns:
- a
ReportSetwith the specified id
-
withReports
Creates a newReportSetinstance using the specified reports.- Parameters:
reports- the newCollection<String>to use- Returns:
- a
ReportSetwith the specified reports
-
newInstance
Creates a newReportSetinstance. Equivalent tonewInstance(true).- Returns:
- a new
ReportSet - See Also:
-
newInstance
Creates 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
-
newBuilder
Creates a newReportSetbuilder instance. Equivalent tonewBuilder(true).- Returns:
- a new
Builder - See Also:
-
newBuilder
Creates a newReportSetbuilder instance using default values or not.- Parameters:
withDefaults- the boolean indicating whether default values should be used- Returns:
- a new
Builder
-
newBuilder
Creates a newReportSetbuilder instance using the specified object as a basis. Equivalent tonewBuilder(from, false).- Parameters:
from- theReportSetinstance to use as a basis- Returns:
- a new
Builder
-
newBuilder
Creates a newReportSetbuilder instance using the specified object as a basis.- Parameters:
from- theReportSetinstance to use as a basisforceCopy- the boolean indicating if a copy should be forced- Returns:
- a new
Builder
-
toString
-