Class ArrayEventContext

    • Method Detail

      • get

        public <T> T get​(Class<T> desiredType,
                         int index)
        Description copied from interface: EventContext
        Extracts a parameter value and coerces or decodes it to the desired type.
        Parameters:
        desiredType - the type of value required
        index - identifies which parameter value to extract
        Returns:
        the value extracted and converted or coerced
      • getCount

        public int getCount()
        Description copied from interface: EventContext
        Returns the number of parameter values that can be extracted.