All Downloads are FREE. Search and download functionalities are using the official Maven repository.

aQute.bnd.annotation.headers.BundleDevelopers Maven / Gradle / Ivy

There is a newer version: 7.0.0
Show newest version
package aQute.bnd.annotation.headers;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.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. */ @Retention(RetentionPolicy.CLASS) @Target({ ElementType.ANNOTATION_TYPE, ElementType.TYPE }) public @interface BundleDevelopers { /** * The email address of the developer. */ String value(); /** * The display name of the developer. If not specified, the {@link #value()} * is used. */ String name() default ""; /** * The roles this developer plays in the development. */ String[] roles() default {}; /** * The name of the organization where the developer works for. */ String organization() default ""; /** * The url of the organization where the developer works for. */ String organizationUrl() default ""; /** * Time offset in hours from UTC without Daylight savings */ int timezone() default 0; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy