org.apache.jmeter.gui

## Annotation Type TestElementMetadata

-     @Retention(value=RUNTIME)
       @Target(value=TYPE)
       @API(since="5.3",
           status=INTERNAL)
      public @interface TestElementMetadata

  Enables to get component information (e.g. title, group in menu) at the startup.

  Historically JMeter was creating component classes which initializes GUI elements. The idea here is to enable access to the metadata without instantiating GUI classes.

  This annotation is not meant to be used by the third-party plugins, and it might be removed as better alternatives are implemented.

  Since:
    5.3
  See Also:
    `MenuFactory`

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `String` | `labelResource`

  - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `String[]` | `actionGroups`
    `String` | `resourceBundle`

- - ### Element Detail

    - #### labelResource

          public abstract String labelResource

  - - #### resourceBundle

          public abstract String resourceBundle

      Default:
        ""

  - - #### actionGroups

          public abstract String[] actionGroups

      Default:
        {}

Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.