Class ReportPublisherDslExtension.PublishGeneratorsContext.ReportGeneratorContext

  • All Implemented Interfaces:
    javaposse.jobdsl.dsl.Context
    Enclosing class:
    ReportPublisherDslExtension.PublishGeneratorsContext

    public static class ReportPublisherDslExtension.PublishGeneratorsContext.ReportGeneratorContext
    extends Object
    implements javaposse.jobdsl.dsl.Context
    Context class providing the report generator configuration methods for the nested DSL context.
    • Field Detail

      • reportValidator

        protected final ReportGeneratorValidator reportValidator
        Validator to check report generated related DSL options.
    • Constructor Detail

      • ReportGeneratorContext

        public ReportGeneratorContext()
    • Method Detail

      • generator

        public void generator​(CharSequence name)
        Option defining the report generator.
        Parameters:
        name - the generator name
      • generator

        public void generator​(CharSequence name,
                              Runnable closure)
        Option defining the report generator.
        Parameters:
        name - the generator name
        closure - the nested Groovy closure
      • customGenerator

        public void customGenerator​(CharSequence name)
        Option defining the custom report generator.
        Parameters:
        name - the generator name
      • customGenerator

        public void customGenerator​(CharSequence name,
                                    Runnable closure)
        Option defining the custom report generator.
        Parameters:
        name - the generator name
        closure - the nested Groovy closure