Interface OptionValidator


public interface OptionValidator
Callback interface for validating a list of options with values.
  • Method Summary

    Modifier and Type
    Method
    Description
    Validates the options if valid, returns null.
  • Method Details

    • validateOptions

      String validateOptions(List<Option> options)
      Validates the options if valid, returns null. Otherwise an error message is returned.
      Parameters:
      options - the options to be validated.
      Returns:
      null, if the options have valid values. Otherwise return an error message.