Class InputParameterValidator


  • public class InputParameterValidator
    extends Object
    Validates the extension specific parameters of siddhi App with the patterns specified in the @ParameterOverload annotation in the extension class
    • Constructor Detail

      • InputParameterValidator

        public InputParameterValidator()
    • Method Detail

      • validateExpressionExecutors

        public static void validateExpressionExecutors​(Object objectHavingAnnotation,
                                                       ExpressionExecutor[] attributeExpressionExecutors)
                                                throws io.siddhi.query.api.exception.SiddhiAppValidationException
        The method which validates the extension specific parameters of siddhi App with the pattern specified in the ParameterOverload annotation in the extension class
        Parameters:
        objectHavingAnnotation - the object which has Extension annotation
        attributeExpressionExecutors - the executors of each function parameters
        Throws:
        io.siddhi.query.api.exception.SiddhiAppValidationException - SiddhiAppValidation exception