Annotation Interface WithFeature


@Target(METHOD) @Retention(RUNTIME) public @interface WithFeature
Used together with the TogglzRule on test methods.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The features to enable
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    disable the features instead of enabling them
    Class<? extends org.togglz.core.Feature>
    Deprecated.
    Removed without replacement
  • Element Details

    • value

      String[] value
      The features to enable
    • type

      @Deprecated Class<? extends org.togglz.core.Feature> type
      Deprecated.
      Removed without replacement
      Default:
      org.togglz.core.Feature.class
    • disable

      boolean disable
      disable the features instead of enabling them
      Default:
      false