Package aQute.bnd.annotation.headers
Annotation Type BundleContributors
-
@Retention(CLASS) @Target({ANNOTATION_TYPE,TYPE}) public @interface BundleContributorsMaven 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("Peter.Kriens@aQute.biz")@interface pkriens {}@pkriens public class MyFoo { ... }
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringvalueThe email address of the developer.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringnameThe display name of the developer.java.lang.StringorganizationThe name of the organization where the contributor works for.java.lang.StringorganizationUrlThe url of the organization where the contributor works for.java.lang.String[]rolesThe roles this contributor plays in the development.inttimezoneTime offset in hours from UTC without Daylight savings
-
-
-
-
name
java.lang.String name
The display name of the developer. If not specified, thevalue()is used.- Default:
- ""
-
-