@Retention(value=CLASS)
@Target(value={ANNOTATION_TYPE,TYPE})
public @interface BundleLicense
The syntax for this header is as follows:
Bundle-License ::= ’<>’ |
( license ( ’,’ license ) * )
license ::= name ( ’;’ license-attr ) *
license-attr ::= description | link
description ::= ’description’ ’=’ string
link ::= ’link’ ’=’
This header has the following attributes:
http:///licenses/
-.
<<EXTERNAL>> form should be assumed. This header is informational and
may not have any legal bearing. Consult a lawyer before using this header to
automate licensing processing.
A number of licenses have been predefined, ASL_2_0,
BSD_2_Clause, BSD_3_Clause, CDDL_1_0, EPL_1_0, GPL_2_0, GPL_3_0, LGPL_2_1, MIT_1_0,
MPL_2_0.
| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String |
name
The name of the license, should refer to Open Source Initiative
|
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
description
A short description of the license
|
java.lang.String |
link
A URI to the license text.
|
public abstract java.lang.String name
public abstract java.lang.String description
public abstract java.lang.String link