Annotation Type BaselineIgnore


  • @Retention(CLASS)
    @Target({PACKAGE,TYPE,FIELD,METHOD,CONSTRUCTOR})
    public @interface BaselineIgnore
    Baseline ignore annotation.

    When this annotation is applied to a baselined element, the baseliner will ignore the annotated element when baselining against a baseline package whose version is less than the specified version. This means the annotated element will not produce a baselining mismatch. The correct baseline information about the element will be in the baseline report, but the element will not cause baselining to fail. When baselining against a baseline package whose version is greater than or equal to the specified version, this annotation is ignored and the annotated element will be included in the baselining.

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value
      Baseline package version.
    • Element Detail

      • value

        java.lang.String value
        Baseline package version.

        The version must be a valid OSGi version string.