Debian Codegraph @

src/aQute/bnd/annotation/baseline/BaselineIgnore.java

raw symbols ◀ ▶ SCIP
1 Debian patch touch this file
•1 package aQute.bnd.annotation.baseline;
2
3 import java.lang.annotation.ElementType;
4 import java.lang.annotation.Retention;
5 import java.lang.annotation.RetentionPolicy;
6 import java.lang.annotation.Target;
7
8 /**
9 * Baseline ignore annotation.
10 * <p>
11 * When this annotation is applied to a baselined element, the baseliner will
12 * ignore the annotated element when baselining against a baseline package whose
13 * version is less than the specified version. This means the annotated element
14 * will not produce a baselining mismatch. The correct baseline information
15 * about the element will be in the baseline report, but the element will not
16 * cause baselining to fail. When baselining against a baseline package whose
17 * version is greater than or equal to the specified version, this annotation is
18 * ignored and the annotated element will be included in the baselining.
19 */
20 @Retention(RetentionPolicy.CLASS)
21 @Target({
22 ElementType.PACKAGE, ElementType.TYPE, ElementType.FIELD, ElementType.METHOD, ElementType.CONSTRUCTOR
23 })
24 public @interface BaselineIgnore {
25 /**
26 * Baseline package version.
27 * <p>
28 * The version must be a valid OSGi version string.
29 */
30 String value();
31 }