Package ca.uhn.fhir.jpa.bulk.imprt.job
Class BulkImportJobCloser
java.lang.Object
ca.uhn.fhir.jpa.bulk.imprt.job.BulkImportJobCloser
- All Implemented Interfaces:
org.springframework.batch.core.step.tasklet.Tasklet
public class BulkImportJobCloser
extends Object
implements org.springframework.batch.core.step.tasklet.Tasklet
Will run before and after a job to set the status to whatever is appropriate.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.batch.repeat.RepeatStatus
execute
(org.springframework.batch.core.StepContribution theStepContribution, org.springframework.batch.core.scope.context.ChunkContext theChunkContext)
-
Constructor Details
-
BulkImportJobCloser
public BulkImportJobCloser()
-
-
Method Details
-
execute
public org.springframework.batch.repeat.RepeatStatus execute(org.springframework.batch.core.StepContribution theStepContribution, org.springframework.batch.core.scope.context.ChunkContext theChunkContext) - Specified by:
execute
in interfaceorg.springframework.batch.core.step.tasklet.Tasklet
-