Annotation Type ParamDef

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String name
      The name of the parameter.
      Class<?> type
      The type to use when binding the parameter value.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Class<? extends Supplier> resolver
      The resolver to use when retrieving the parameter value.
    • Element Detail

      • name

        String name
        The name of the parameter.
      • type

        Class<?> type
        The type to use when binding the parameter value.

        Generally deduced from the bind value. Allows to specify a specific type to use.

        The supplied Class can be one of the following:

      • resolver

        Class<? extends Supplier> resolver
        The resolver to use when retrieving the parameter value.

        The parameter value can either be defined using the setParameter method or by providing a resolver, that will be executed to retrieve the value.

        The supplied Class must implement Supplier

        Default:
        java.util.function.Supplier.class