Annotation Interface FeatureFlagExtension.DisableFeatureFlag
- Enclosing class:
FeatureFlagExtension
@Repeatable(DisableFeatureFlags.class)
@Retention(RUNTIME)
@Target({METHOD,TYPE})
public static @interface FeatureFlagExtension.DisableFeatureFlag
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interface -
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanWhether to restore previous state after test finishes executing.booleanSome 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 restoreAfterWhether to restore previous state after test finishes executing.- Default:
false
-
useLegacyControlMethod
boolean useLegacyControlMethodSome 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
-