org.springframework.batch.core

## Interface JobParametersValidator

- All Known Implementing Classes:
    CompositeJobParametersValidator, DefaultJobParametersValidator

      public interface JobParametersValidator

  Strategy interface for a `Job` to use in validating its parameters for an execution.
  Author:
    Dave Syer, Mahmoud Ben Hassine

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `validate(JobParameters parameters)` Check the parameters meet whatever requirements are appropriate, and throw an exception if not.

- - ### Method Detail

    - #### validate

          void validate(@Nullable
                        JobParameters parameters)
                 throws JobParametersInvalidException

      Check 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