aQute.bnd.annotation.headers
Annotation Type BundleContributors


@Retention(value=CLASS)
@Target(value={ANNOTATION_TYPE,TYPE})
public @interface BundleContributors

Maven defines contributors and developers in the POM. This annotation will generate a (not standardized by OSGi) Bundle-Contributors 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 contributor. 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 contributors without then adding them all to the header.

See Maven POM reference


Required Element Summary
 String value
          The email address of the developer.
 
Optional Element Summary
 String name
          The display name of the developer.
 String organization
          The name of the organization where the contributor works for.
 String organizationUrl
          The url of the organization where the contributor works for.
 String[] roles
          The roles this contributor plays in the development.
 int timezone
          Time offset in hours from UTC without Daylight savings
 

Element Detail

value

public abstract String value
The email address of the developer.

name

public abstract String name
The display name of the developer. If not specified, the value() is used.

Default:
""

roles

public abstract String[] roles
The roles this contributor plays in the development.

Default:
{}

organization

public abstract String organization
The name of the organization where the contributor works for.

Default:
""

organizationUrl

public abstract String organizationUrl
The url of the organization where the contributor works for.

Default:
""

timezone

public abstract int timezone
Time offset in hours from UTC without Daylight savings

Default:
0


Copyright © 2014 aQute SARL. All rights reserved.