com.yahoo.osgi.annotation.Version Maven / Gradle / Ivy
// Copyright Vespa.ai. 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 Osgi version documentation
* @author Tony Vaagenes
*/
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 "";
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy