public class ReportGeneratorBuilder extends Object
ReportGeneratorService.| Modifier and Type | Method and Description |
|---|---|
ReportGeneratorBuilder |
addPlugin(String classNameOrPluginName)
Add a plugin to be used as default plugins for custom configuration or in
addition to plugins defined by the processor.
|
ReportGeneratorService |
build()
Build the service.
|
static ReportGeneratorBuilder |
create()
Create a new builder.
|
ReportGeneratorBuilder |
registerPlugin(String className)
Register a plugin to be used by the
ReportGeneratorConstants.REPORT_CONFIG_INSTRUCTION and to be able
to use plugin short names. |
ReportGeneratorBuilder |
setProcessor(Processor processor)
Set the processor from which plugins are loaded as well as properties and
to which errors are reported.
|
ReportGeneratorBuilder |
useCustomConfig()
If set, the
ReportGeneratorConstants.REPORT_CONFIG_INSTRUCTION
instruction will be processed to customize the report generation. |
ReportGeneratorBuilder |
withAggregatorProjectDefaultPlugins()
Add the default plugins used to extract aggregator project or workspace
data.
|
ReportGeneratorBuilder |
withBundleDefaultPlugins()
Add the default plugins used to extract bundle data.
|
ReportGeneratorBuilder |
withProjectDefaultPlugins()
Add the default plugins used to extract project data.
|
public static ReportGeneratorBuilder create()
public ReportGeneratorBuilder setProcessor(Processor processor)
processor - the processor to use.public ReportGeneratorBuilder useCustomConfig()
ReportGeneratorConstants.REPORT_CONFIG_INSTRUCTION
instruction will be processed to customize the report generation.public ReportGeneratorBuilder registerPlugin(String className)
ReportGeneratorConstants.REPORT_CONFIG_INSTRUCTION and to be able
to use plugin short names.className - the class name of the plugin.public ReportGeneratorBuilder addPlugin(String classNameOrPluginName)
classNameOrPluginName - a class name or the short name of a plugin.public ReportGeneratorBuilder withBundleDefaultPlugins()
public ReportGeneratorBuilder withProjectDefaultPlugins()
public ReportGeneratorBuilder withAggregatorProjectDefaultPlugins()
public ReportGeneratorService build()
Copyright © 2021. All rights reserved.