Class InputValidator


  • public class InputValidator
    extends Object
    Validator for input parameters in handlers.
    • Constructor Detail

      • InputValidator

        public InputValidator()
    • Method Detail

      • requireNonNull

        public static void requireNonNull​(Variant input,
                                          String paramName)
        Validates whether given input parameter is valid.
        Parameters:
        input - variant given as input parameter for handler.
        paramName - name of the input parameter