Annotation TestElementMetadata

  • All Implemented Interfaces:
    java.lang.annotation.Annotation

    @Retention(value = RetentionPolicy.RUNTIME)@Target(value = ElementType.TYPE)@API(since = "5.3", status = API.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

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract String labelResource()
      abstract String resourceBundle()
      abstract Array<String> actionGroups()
      • Methods inherited from class java.lang.annotation.Annotation

        annotationType, equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait