Annotation Interface Parameter


@Retention(RUNTIME) @Target(METHOD) @Inherited public @interface Parameter
An annotation used to specify parameters to be injected into any Command
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The parameter name.
    boolean
    Specifies whether the parameter is optional.
  • Element Details

    • name

      String name
      The parameter name. The value will be used to lookup the actual value in the underlying configuration.
      Returns:
      the name or the parameter
      Default:
      ""
    • optional

      boolean optional
      Specifies whether the parameter is optional.
      Returns:
      true if the argument is optional.
      Default:
      false