Class BulkExportGenerateResourceFilesStepListener

  • All Implemented Interfaces:
    org.springframework.batch.core.StepExecutionListener, org.springframework.batch.core.StepListener

    public class BulkExportGenerateResourceFilesStepListener
    extends Object
    implements org.springframework.batch.core.StepExecutionListener
    This class sets the job status to ERROR if any failures occur while actually generating the export files.
    • Method Detail

      • beforeStep

        public void beforeStep​(@Nonnull
                               org.springframework.batch.core.StepExecution stepExecution)
        Specified by:
        beforeStep in interface org.springframework.batch.core.StepExecutionListener
      • afterStep

        public org.springframework.batch.core.ExitStatus afterStep​(org.springframework.batch.core.StepExecution theStepExecution)
        Specified by:
        afterStep in interface org.springframework.batch.core.StepExecutionListener