Package ca.uhn.fhir.jpa.bulk.imprt.job
Class BulkImportJobParameterValidator
java.lang.Object
ca.uhn.fhir.jpa.bulk.imprt.job.BulkImportJobParameterValidator
- All Implemented Interfaces:
org.springframework.batch.core.JobParametersValidator
public class BulkImportJobParameterValidator
extends Object
implements org.springframework.batch.core.JobParametersValidator
This class will prevent a job from running if the UUID does not exist or is invalid.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
validate(org.springframework.batch.core.JobParameters theJobParameters)
-
Constructor Details
-
BulkImportJobParameterValidator
public BulkImportJobParameterValidator()
-
-
Method Details
-
validate
public void validate(org.springframework.batch.core.JobParameters theJobParameters) throws org.springframework.batch.core.JobParametersInvalidException- Specified by:
validate
in interfaceorg.springframework.batch.core.JobParametersValidator
- Throws:
org.springframework.batch.core.JobParametersInvalidException
-