Class BulkImportStepListener

java.lang.Object
ca.uhn.fhir.jpa.bulk.imprt.job.BulkImportStepListener
All Implemented Interfaces:
org.springframework.batch.core.jsr.RetryListener, org.springframework.batch.core.StepExecutionListener, org.springframework.batch.core.StepListener

public class BulkImportStepListener extends Object implements org.springframework.batch.core.StepExecutionListener, org.springframework.batch.core.jsr.RetryListener
This class sets the job status to ERROR if any failures occur while actually generating the export files.
  • Constructor Details

  • Method Details

    • 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