Package org.apache.jmeter.gui

# Annotation Type TestElementMetadata

@Retention(RUNTIME) @Target(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
  Description
  `String`
  `labelResource`

- ## Optional Element Summary

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

- ## Element Details

  - ### labelResource

    String labelResource

- - ### resourceBundle

    String resourceBundle
    Default:
      ""

  - ### actionGroups

    String[] actionGroups
    Default:
      {}