Package aQute.bnd.annotation.headers
Annotation 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:
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.@
BundleContributor("[email protected]")@
interface pkriens {}@
pkriens public class MyFoo { ... }
-
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionThe display name of the developer.The name of the organization where the contributor works for.The url of the organization where the contributor works for.String[]
The roles this contributor plays in the development.int
Time offset in hours from UTC without Daylight savings
-
Element Details
-
value
String valueThe email address of the developer.
-
-
-
name
String nameThe display name of the developer. If not specified, thevalue()
is used.- Default:
- ""
-
roles
String[] rolesThe roles this contributor plays in the development.- Default:
- {}
-
organization
String organizationThe name of the organization where the contributor works for.- Default:
- ""
-
organizationUrl
String organizationUrlThe url of the organization where the contributor works for.- Default:
- ""
-
timezone
int timezoneTime offset in hours from UTC without Daylight savings- Default:
- 0
-