Interface OptionValidator


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

      • validateOptions

        java.lang.String validateOptions​(java.util.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.