Top Description Methods
aQute.bnd.annotation.headers

public @Interface BundleContributors

extends Annotation
Annotations
@Retention:CLASS
@Target:ANNOTATION_TYPE, TYPE
Imports
java.lang.annotation.ElementType, .Retention, .RetentionPolicy, .Target

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("[email protected]")
@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

Method Summary

Modifier and TypeMethod and Description
public String
name()

The display name of the developer.

public String
organization()

The name of the organization where the contributor works for.

public String
organizationUrl()

The url of the organization where the contributor works for.

public String[]
roles()

The roles this contributor plays in the development.

public int
timezone()

Time offset in hours from UTC without Daylight savings

public String
value()

The email address of the developer.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

nameback to summary
public String name()

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

organizationback to summary
public String organization()

The name of the organization where the contributor works for.

organizationUrlback to summary
public String organizationUrl()

The url of the organization where the contributor works for.

rolesback to summary
public String[] roles()

The roles this contributor plays in the development.

timezoneback to summary
public int timezone()

Time offset in hours from UTC without Daylight savings

valueback to summary
public String value()

The email address of the developer.