Package org.springframework.batch.core
Interface JobParametersValidator
- All Known Implementing Classes:
- CompositeJobParametersValidator,- DefaultJobParametersValidator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Strategy interface for a 
Job to use in validating its parameters for an
 execution.- Author:
- Dave Syer, Mahmoud Ben Hassine, Taeik Lim
- 
Method SummaryModifier and TypeMethodDescriptionvoidvalidate(JobParameters parameters) Check that the parameters meet whatever requirements are appropriate, and throw an exception if not.
- 
Method Details- 
validateCheck that the parameters meet whatever requirements are appropriate, and throw an exception if not.- Parameters:
- parameters- some- JobParameters(can be- null)
- Throws:
- JobParametersInvalidException- if the parameters are invalid
 
 
-