Annotation Type FeatureActivated


  • @Target({TYPE,METHOD})
    @Retention(RUNTIME)
    public @interface FeatureActivated
    Marks a test suite, class or step to be active only, if the specified feature(s) is/are active.
    Since:
    2.0.0
    Author:
    Nils Christian Ehmke <[email protected]>
    See Also:
    FeatureNotActivated
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.Class<? extends Feature>[] allOf
      The features which all must be active.
      java.lang.Class<? extends Feature>[] anyOf
      The features where at least one of them must be active.
      java.lang.Class<? extends Feature> value
      The feature which must be active.
    • Element Detail

      • value

        java.lang.Class<? extends Feature> value
        The feature which must be active.
        Returns:
        the feature which must be active
        Since:
        2.0.0
        Default:
        de.bmiag.tapir.variant.annotation.feature.EmptyFeature.class
      • allOf

        java.lang.Class<? extends Feature>[] allOf
        The features which all must be active.
        Returns:
        the features which all must be active
        Since:
        2.0.0
        Default:
        {}
      • anyOf

        java.lang.Class<? extends Feature>[] anyOf
        The features where at least one of them must be active.
        Returns:
        the features where at least one of them must be active
        Since:
        2.0.0
        Default:
        {}