|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=CLASS)
@Target(value={ANNOTATION_TYPE,TYPE})
public @interface BundleLicenseThe Bundle-License header provides an optional machine readable form of license information. The purpose of this header is to automate some of the license processing required by many organizations like for example license acceptance before a bundle is used. The header is structured to provide the use of unique license naming to merge acceptance requests, as well as links to human readable infor- mation about the included licenses. This header is purely informational for management agents and must not be processed by the OSGi Framework.
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.
| Required Element Summary | |
|---|---|
String |
name
The name of the license, should refer to Open Source Initiative |
| Optional Element Summary | |
|---|---|
String |
description
A short description of the license |
String |
link
A URI to the license text. |
| Element Detail |
|---|
public abstract String name
public abstract String description
public abstract String link
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||