Annotation Type BundleDevelopers


  • @Retention(CLASS)
    @Target({ANNOTATION_TYPE,TYPE})
    public @interface BundleDevelopers
    Maven defines developers in the POM. This annotation will generate a (not standardized by OSGi) Bundle-Developers header.

    This annotation can be used directly on a type or it can 'color' an annotation. This coloring allows custom annotations that define a specific developer. For example:

      @BundleContributor("Peter.Kriens@aQute.biz") @interface pkriens
     {} @pkriens public class MyFoo { ... }
     
    Duplicates are removed before the header is generated and the coloring does not create an entry in the header, only an annotation on an actual type is counted. This makes it possible to make a library of developers without then adding them all to the header.

    See the Maven documentation for more information.

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value
      The email address of the developer.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String name
      The display name of the developer.
      java.lang.String organization
      The name of the organization where the developer works for.
      java.lang.String organizationUrl
      The url of the organization where the developer works for.
      java.lang.String[] roles
      The roles this developer plays in the development.
      int timezone
      Time offset in hours from UTC without Daylight savings
    • Element Detail

      • value

        java.lang.String value
        The email address of the developer.
      • name

        java.lang.String name
        The display name of the developer. If not specified, the value() is used.
        Default:
        ""
      • roles

        java.lang.String[] roles
        The roles this developer plays in the development.
        Default:
        {}
      • organization

        java.lang.String organization
        The name of the organization where the developer works for.
        Default:
        ""
      • organizationUrl

        java.lang.String organizationUrl
        The url of the organization where the developer works for.
        Default:
        ""
      • timezone

        int timezone
        Time offset in hours from UTC without Daylight savings
        Default:
        0