@Experimental @Generated @ThreadSafe @Immutable public class ReportSet extends ConfigurationContainer implements Serializable, InputLocationTracker
Modifier and Type | Class and Description |
---|---|
static class |
ReportSet.Builder
Builder class used to create ReportSet instances.
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
The unique id for this report set, to be used during POM inheritance and profile injection
for merging of report sets.
|
InputLocation |
getLocation(Object key)
Gets the location of the specified field in the input source.
|
List<String> |
getReports()
The list of reports from this plugin which should be generated from this set.
|
static ReportSet.Builder |
newBuilder()
Creates a new
ReportSet builder instance. |
static ReportSet.Builder |
newBuilder(boolean withDefaults)
Creates a new
ReportSet builder instance using default values or not. |
static ReportSet.Builder |
newBuilder(ReportSet from)
Creates a new
ReportSet builder instance using the specified object as a basis. |
static ReportSet.Builder |
newBuilder(ReportSet from,
boolean forceCopy)
Creates a new
ReportSet builder instance using the specified object as a basis. |
static ReportSet |
newInstance()
Creates a new
ReportSet instance. |
static ReportSet |
newInstance(boolean withDefaults)
Creates a new
ReportSet instance using default values or not. |
String |
toString() |
ReportSet.Builder |
with()
Creates a new builder with this object as the basis.
|
ReportSet |
withConfiguration(Dom configuration)
Creates a new
ReportSet instance using the specified configuration. |
ReportSet |
withId(String id)
Creates a new
ReportSet instance using the specified id. |
ReportSet |
withInherited(String inherited)
Creates a new
ReportSet instance using the specified inherited. |
ReportSet |
withReports(Collection<String> reports)
Creates a new
ReportSet instance using the specified reports. |
getConfiguration, getInherited, isInherited, newBuilder, newBuilder
public String getId()
String
@Nonnull public List<String> getReports()
List<String>
public InputLocation getLocation(Object key)
getLocation
in interface InputLocationTracker
getLocation
in class ConfigurationContainer
@Nonnull public ReportSet.Builder with()
with
in class ConfigurationContainer
Builder
@Nonnull public ReportSet withInherited(String inherited)
ReportSet
instance using the specified inherited.withInherited
in class ConfigurationContainer
inherited
- the new String
to useReportSet
with the specified inherited@Nonnull public ReportSet withConfiguration(Dom configuration)
ReportSet
instance using the specified configuration.withConfiguration
in class ConfigurationContainer
configuration
- the new Dom
to useReportSet
with the specified configuration@Nonnull public ReportSet withId(String id)
ReportSet
instance using the specified id.id
- the new String
to useReportSet
with the specified id@Nonnull public ReportSet withReports(Collection<String> reports)
ReportSet
instance using the specified reports.reports
- the new Collection<String>
to useReportSet
with the specified reports@Nonnull public static ReportSet newInstance()
ReportSet
instance.
Equivalent to newInstance( true )
.ReportSet
newInstance(boolean)
@Nonnull public static ReportSet newInstance(boolean withDefaults)
ReportSet
instance using default values or not.
Equivalent to newBuilder( withDefaults ).build()
.withDefaults
- the boolean indicating whether default values should be usedReportSet
@Nonnull public static ReportSet.Builder newBuilder()
ReportSet
builder instance.
Equivalent to newBuilder( true )
.Builder
newBuilder(boolean)
@Nonnull public static ReportSet.Builder newBuilder(boolean withDefaults)
ReportSet
builder instance using default values or not.withDefaults
- the boolean indicating whether default values should be usedBuilder
@Nonnull public static ReportSet.Builder newBuilder(ReportSet from)
ReportSet
builder instance using the specified object as a basis.
Equivalent to newBuilder( from, false )
.from
- the ReportSet
instance to use as a basisBuilder
@Nonnull public static ReportSet.Builder newBuilder(ReportSet from, boolean forceCopy)
ReportSet
builder instance using the specified object as a basis.from
- the ReportSet
instance to use as a basisforceCopy
- the boolean indicating if a copy should be forcedBuilder
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.