Class ReportTasklet

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected boolean failIfValidationFailures
      True if you want the step to fail if one or more validations fail.
      protected java.lang.String reportDir  
    • Constructor Summary

      Constructors 
      Constructor Description
      ReportTasklet()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addReportGenerator​(ReportGenerator reportGenerator)  
      org.springframework.batch.repeat.RepeatStatus execute​(org.springframework.batch.core.StepContribution sc, org.springframework.batch.core.scope.context.ChunkContext cc)  
      void setReportGenerators​(java.util.List<ReportGenerator> reportGenerators)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • reportDir

        @Value("${bauta.reportDir}")
        protected java.lang.String reportDir
      • failIfValidationFailures

        protected boolean failIfValidationFailures
        True if you want the step to fail if one or more validations fail.
    • Constructor Detail

      • ReportTasklet

        public ReportTasklet()
    • Method Detail

      • addReportGenerator

        protected void addReportGenerator​(ReportGenerator reportGenerator)
      • setReportGenerators

        public void setReportGenerators​(java.util.List<ReportGenerator> reportGenerators)
      • execute

        public org.springframework.batch.repeat.RepeatStatus execute​(org.springframework.batch.core.StepContribution sc,
                                                                     org.springframework.batch.core.scope.context.ChunkContext cc)
                                                              throws java.lang.Exception
        Specified by:
        execute in interface org.springframework.batch.core.step.tasklet.Tasklet
        Throws:
        java.lang.Exception