blob: 69379780182ebafbe166f29b4e3d9195cf96395a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.osgi.annotation;
/**
* Version of an exported package
* The default version is 1.0.0
* @see <a href="http://www.osgi.org/javadoc/r4v43/org/osgi/framework/Version.html">Osgi version documentation</a>
* @author tonytv
*/
public @interface Version {
/** must be non-negative **/
int major() default 1;
/** must be non-negative **/
int minor() default 0;
/** must be non-negative **/
int micro() default 0;
/** must follow the format (alpha|digit|'_'|'-')+ **/
String qualifier() default "";
}
|