Top Description Methods
org.osgi.annotation.versioning

public @Interface Version

extends Annotation
Annotations
@Documented
@Retention:CLASS
@Target:PACKAGE
Imports
java.lang.annotation.Documented, .ElementType, .Retention, .RetentionPolicy, .Target

Specify the version of a package.

This annotation is not retained at runtime. It is for use by tools to generate bundle manifests or otherwise process the version of a package.

Author
$Id: 6e4361486f9f41adbfadba45e4f07f83ea81864e $
See Also
Semantic Versioning

Method Summary

Modifier and TypeMethod and Description
public String
value()

The version of the annotated package.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public String value()

The version of the annotated package.

The version must be a valid OSGi version string.