Package org.apache.tiles.autotag.core.runtime.annotation

# Annotation Interface Parameter

@Retention(SOURCE) @Target(PARAMETER) public @interface Parameter
Specifies behaviour for a parameter of the "execute" method of a template class.

- ## Optional Element Summary

  Optional Elements
  Modifier and Type
  Optional Element
  Description
  `String`
  `defaultValue`
  Indicates the default value, as it will be written in Java code.
  `String`
  `name`
  Returns the name of the exported property name.
  `boolean`
  `required`
  Indicates that this parameter is required.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `SAME_NAME`
  Indicates to use the parameter name itself for the exported name.

- ## Field Details

  - ### SAME_NAME

    static final String SAME_NAME
    Indicates to use the parameter name itself for the exported name.
    See Also:
      - Constant Field Values

- ## Element Details

  - ### name

    String name
    Returns the name of the exported property name.
    Default:
      "USE THE SAME NAME"

  - ### required

    boolean required
    Indicates that this parameter is required.
    Default:
      false

  - ### defaultValue

    String defaultValue
    Indicates the default value, as it will be written in Java code.
    Default:
      "null"