public class ReportExporterBuilder extends Object
ReportExporterService.| Modifier and Type | Method and Description |
|---|---|
ReportExporterService |
build()
Build the service.
|
static ReportExporterBuilder |
create()
Create a new builder.
|
ReportExporterBuilder |
setGenerator(ReportGeneratorService generator)
Set the generator which will be used to generate the reports.
|
ReportExporterBuilder |
setProcessor(Processor processor)
Set the processor from which plugins are loaded as well as properties and
to which errors are reported.
|
ReportExporterBuilder |
setScope(String scopeName)
Set a scope for the exporter service.
|
public static ReportExporterBuilder create()
public ReportExporterBuilder setScope(String scopeName)
scopeName - the scope name, may be nullpublic ReportExporterBuilder setProcessor(Processor processor)
If not set, a default processor is used but the created service will be useless because no instructions will be provided.
processor - the processor to use.public ReportExporterBuilder setGenerator(ReportGeneratorService generator)
If not set a default generator will be used.
generator - the generator service to usepublic ReportExporterService build()
Copyright © 2021. All rights reserved.