Annotation Interface Parameter


public @interface Parameter
A extra parameter to an operation.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The name of the parameter.
    The type semantics of the String value.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The default value, if applicable.
    A description of the parameter.
    Titles of enumeration values.
    Enumeration of acceptable values, if required.
    boolean
    Whether the parameter is required.
    The source of the parameter.
  • Element Details

    • name

      String name
      The name of the parameter.
    • type

      String type
      The type semantics of the String value.
    • defaultValue

      String defaultValue
      The default value, if applicable. Should not be an empty string.
      Default:
      ""
    • description

      String description
      A description of the parameter.
      Default:
      ""
    • source

      The source of the parameter. Defaults to PATH.
      Default:
      PATH
    • required

      boolean required
      Whether the parameter is required. Defaults to true.
      Default:
      true
    • enumValues

      String[] enumValues
      Enumeration of acceptable values, if required.
      Default:
      {}
    • enumTitles

      String[] enumTitles
      Titles of enumeration values.
      Default:
      {}