Class ReportExporterBuilder

    • Constructor Detail

      • ReportExporterBuilder

        private ReportExporterBuilder()
    • Method Detail

      • setScope

        public ReportExporterBuilder setScope​(java.lang.String scopeName)
        Set a scope for the exporter service. If set, the exporter will ignore report instructions with a different scope.
        Parameters:
        scopeName - the scope name, may be null
        Returns:
        the builder
      • setProcessor

        public ReportExporterBuilder setProcessor​(Processor processor)
        Set the processor from which plugins are loaded as well as properties and to which errors are reported.

        If not set, a default processor is used but the created service will be useless because no instructions will be provided.

        Parameters:
        processor - the processor to use.
        Returns:
        the builder
      • setGenerator

        public ReportExporterBuilder setGenerator​(ReportGeneratorService generator)
        Set the generator which will be used to generate the reports.

        If not set a default generator will be used.

        Parameters:
        generator - the generator service to use
        Returns:
        the builder
      • setupDefaultPlugins

        private static void setupDefaultPlugins​(Processor processor)