ff4k
Toggle table of contents
0.4.0
common
Target filter
common
Switch theme
Search in API
Skip to content
ff4k
ff4k-core
/
com.yonatankarp.ff4k
/
FlippingStrategy
Flipping
Strategy
fun
interface
FlippingStrategy
(
source
)
Decides whether an enabled feature is active for the given evaluation
context
.
Inheritors
AndStrategy
OrStrategy
NotStrategy
ContextFilterStrategy
PercentageStrategy
UserPercentageStrategy
ReleaseDateStrategy
DateRangeStrategy
DailyHoursStrategy
WeekdayStrategy
Members
Members & Extensions
Functions
and
Link copied to clipboard
infix
fun
FlippingStrategy
.
and
(
other
:
FlippingStrategy
)
:
AndStrategy
evaluate
Link copied to clipboard
abstract
suspend
fun
evaluate
(
feature
:
Feature
,
context
:
Map
<
String
,
Any
>
)
:
Boolean
not
Link copied to clipboard
operator
fun
FlippingStrategy
.
not
(
)
:
NotStrategy
or
Link copied to clipboard
infix
fun
FlippingStrategy
.
or
(
other
:
FlippingStrategy
)
:
OrStrategy