Annotation Interface Parameter


@Documented @Retention(RUNTIME) @Target(PARAMETER) public @interface Parameter
Defines the behavior of an expression function parameter.
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    The required attribute indicates whether or not the parameter must be supplied in order to run the expression function.
    boolean
    The unlimited attribute indicates whether this parameter represents an unlimited number of parameters that the user of the expression function can pass.
  • Element Details

    • required

      boolean required
      The required attribute indicates whether or not the parameter must be supplied in order to run the expression function. Set to false for optional parameters.
      Default:
      true
    • unlimited

      boolean unlimited
      The unlimited attribute indicates whether this parameter represents an unlimited number of parameters that the user of the expression function can pass. If true, this parameter must be the last in the list of parameters.
      Default:
      false