@Experimental @Generated @ThreadSafe @Immutable public class Reporting extends Object implements Serializable, InputLocationTracker
Modifier and Type | Class and Description |
---|---|
static class |
Reporting.Builder
Builder class used to create Reporting instances.
|
Modifier and Type | Method and Description |
---|---|
String |
getExcludeDefaults()
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()
Where to store all of the generated reports.
|
List<ReportPlugin> |
getPlugins()
The reporting plugins to use and their configuration.
|
boolean |
isExcludeDefaults() |
static Reporting.Builder |
newBuilder()
Creates a new
Reporting builder instance. |
static Reporting.Builder |
newBuilder(boolean withDefaults)
Creates a new
Reporting builder instance using default values or not. |
static Reporting.Builder |
newBuilder(Reporting from)
Creates a new
Reporting builder instance using the specified object as a basis. |
static Reporting.Builder |
newBuilder(Reporting from,
boolean forceCopy)
Creates a new
Reporting builder instance using the specified object as a basis. |
static Reporting |
newInstance()
Creates a new
Reporting instance. |
static Reporting |
newInstance(boolean withDefaults)
Creates a new
Reporting instance using default values or not. |
Reporting.Builder |
with()
Creates a new builder with this object as the basis.
|
Reporting |
withExcludeDefaults(String excludeDefaults)
Creates a new
Reporting instance using the specified excludeDefaults. |
Reporting |
withOutputDirectory(String outputDirectory)
Creates a new
Reporting instance using the specified outputDirectory. |
Reporting |
withPlugins(Collection<ReportPlugin> plugins)
Creates a new
Reporting instance using the specified plugins. |
public String getExcludeDefaults()
String
for technical reasons, the semantic type is actually
Boolean
. Default value is false
.String
public String getOutputDirectory()
${project.build.directory}/site
.String
@Nonnull public List<ReportPlugin> getPlugins()
List<ReportPlugin>
public InputLocation getLocation(Object key)
getLocation
in interface InputLocationTracker
@Nonnull public Reporting.Builder with()
Builder
@Nonnull public Reporting withExcludeDefaults(String excludeDefaults)
Reporting
instance using the specified excludeDefaults.excludeDefaults
- the new String
to useReporting
with the specified excludeDefaults@Nonnull public Reporting withOutputDirectory(String outputDirectory)
Reporting
instance using the specified outputDirectory.outputDirectory
- the new String
to useReporting
with the specified outputDirectory@Nonnull public Reporting withPlugins(Collection<ReportPlugin> plugins)
Reporting
instance using the specified plugins.plugins
- the new Collection<ReportPlugin>
to useReporting
with the specified plugins@Nonnull public static Reporting newInstance()
Reporting
instance.
Equivalent to newInstance( true )
.Reporting
newInstance(boolean)
@Nonnull public static Reporting newInstance(boolean withDefaults)
Reporting
instance using default values or not.
Equivalent to newBuilder( withDefaults ).build()
.withDefaults
- the boolean indicating whether default values should be usedReporting
@Nonnull public static Reporting.Builder newBuilder()
Reporting
builder instance.
Equivalent to newBuilder( true )
.Builder
newBuilder(boolean)
@Nonnull public static Reporting.Builder newBuilder(boolean withDefaults)
Reporting
builder instance using default values or not.withDefaults
- the boolean indicating whether default values should be usedBuilder
@Nonnull public static Reporting.Builder newBuilder(Reporting from)
Reporting
builder instance using the specified object as a basis.
Equivalent to newBuilder( from, false )
.from
- the Reporting
instance to use as a basisBuilder
@Nonnull public static Reporting.Builder newBuilder(Reporting from, boolean forceCopy)
Reporting
builder instance using the specified object as a basis.from
- the Reporting
instance to use as a basisforceCopy
- the boolean indicating if a copy should be forcedBuilder
public boolean isExcludeDefaults()
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.