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

## Annotation Type Parameter

-     @Retention(value=SOURCE)
       @Target(value=PARAMETER)
      public @interface Parameter

  Specifies behaviour for a parameter of the "execute" method of a template class.

- - ### Field Summary

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

  - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and 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 Detail

    - #### SAME_NAME

          public static final String SAME_NAME

      Indicates to use the parameter name itself for the exported name.

  - ### Element Detail

    - #### name

          public abstract String name

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

  - - #### required

          public abstract boolean required

      Indicates that this parameter is required.
      Default:
        false

  - - #### defaultValue

          public abstract String defaultValue

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

Copyright © 2000–2026 Apache Software Foundation. All rights reserved.