Annotation Interface FeatureFlagExtension.DisableFeatureFlag

Enclosing class:
FeatureFlagExtension

@Repeatable(DisableFeatureFlags.class) @Retention(RUNTIME) @Target({METHOD,TYPE}) public static @interface FeatureFlagExtension.DisableFeatureFlag
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static @interface 
     
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Whether to restore previous state after test finishes executing.
    boolean
    Some feature flags cannot be toggled with backdoor's methods accepting FeatureFlag, in such situation we may use legacy String accepting methods to check and control such flags.
  • Element Details

    • restoreAfter

      boolean restoreAfter
      Whether to restore previous state after test finishes executing.
      Default:
      false
    • useLegacyControlMethod

      boolean useLegacyControlMethod
      Some feature flags cannot be toggled with backdoor's methods accepting FeatureFlag, in such situation we may use legacy String accepting methods to check and control such flags.
      Default:
      false
    • value

      String[] value