Annotation Interface ThingworxExtensionApiClass


@Target(TYPE) @Retention(RUNTIME) @Documented public @interface ThingworxExtensionApiClass
The ThingworxExtensionApiClass annotation is used to indicate that the current class or interface is part of the Thingworx Extension Development API. The attributes indicate whether the type may safely be extended, implemented, or instantiated.
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int[]


    Required parameter: Indicates which version of the Thingworx Platform began supporting the API.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean


    Optional parameter: Indicates whether or not extension developers are permitted to extend or implement the annotated type.
    boolean


    Optional parameter: When true, an extension developer is permitted to instantiate new instances of this type.
    int[]


    Optional parameter: When specified, indicates that the class has been deprecated for extension developers and should no longer be used for new extension development.
  • Element Details

    • since

      int[] since


      Required parameter: Indicates which version of the Thingworx Platform began supporting the API. The extension should set its platform version requirement to match the highest version number in the API methods it calls.
    • deprecatedSince

      int[] deprecatedSince


      Optional parameter: When specified, indicates that the class has been deprecated for extension developers and should no longer be used for new extension development. Existing extensions should phase out the use of the deprecated API.
      Default:
      {-1}
    • canExtendOrImplement

      boolean canExtendOrImplement


      Optional parameter: Indicates whether or not extension developers are permitted to extend or implement the annotated type. By default, this attribute is set to false.
      Default:
      false
    • canInstantiate

      boolean canInstantiate


      Optional parameter: When true, an extension developer is permitted to instantiate new instances of this type. By default, this attribute is set to false.
      Default:
      false