public enum ContextLocation extends Enum<ContextLocation>
Flip annotation
FlippingExecutionContext| Enum Constant and Description |
|---|
FF4J
|
NONE
Flip will not use a FlippingExecutionContext to switch the feature. |
PARAMETER
Flip will use the first method parameter that is an instance of FlippingExecutionContext. |
| Modifier and Type | Method and Description |
|---|---|
static ContextLocation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContextLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContextLocation NONE
Flip will not use a FlippingExecutionContext to switch the feature.public static final ContextLocation PARAMETER
Flip will use the first method parameter that is an instance of FlippingExecutionContext.public static final ContextLocation FF4J
public static ContextLocation[] values()
for (ContextLocation c : ContextLocation.values()) System.out.println(c);
public static ContextLocation valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2013–2021 FF4J. All rights reserved.