Class KernelReturnParameterMetadata<T>

  • Type Parameters:
    T - the type of the return parameter

    public class KernelReturnParameterMetadata<T>
    extends Object
    Metadata for a return parameter of a KernelFunction.
    • Constructor Detail

      • KernelReturnParameterMetadata

        public KernelReturnParameterMetadata​(@Nullable
                                             String description,
                                             Class<T> parameterType)
        Creates a new instance of KernelReturnParameterMetadata.
        Parameters:
        description - the description of the return parameter
        parameterType - the type of the return parameter
    • Method Detail

      • getDescription

        @Nullable
        public String getDescription()
        Gets the description of the return parameter.
        Returns:
        the description of the return parameter
      • getParameterType

        public Class<T> getParameterType()
        Gets the type of the return parameter.
        Returns:
        the type of the return parameter