Top Description Methods
aQute.bnd.annotation.headers

public @Interface BundleDevelopers

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

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("[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 developers without then adding them all to the header.

See the Maven documentation for more information.

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 developer works for.

public String
organizationUrl()

The url of the organization where the developer works for.

public String[]
roles()

The roles this developer 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 developer works for.

organizationUrlback to summary
public String organizationUrl()

The url of the organization where the developer works for.

rolesback to summary
public String[] roles()

The roles this developer 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.