enum
OpenFeature::Reason
Defined in:
openfeature/evaluation.crEnum Members
-
STATIC =
0 -
The resolved value is static (no dynamic evaluation).
-
DEFAULT =
1 -
The resolved value fell back to a pre-configured value (no dynamic evaluation occurred or dynamic evaluation yielded no result).
-
TARGETING_MATCH =
2 -
The resolved value was the result of a dynamic evaluation, such as a rule or specific user-targeting.
-
SPLIT =
3 -
The resolved value was the result of pseudorandom assignment.
-
CACHED =
4 -
The resolved value was retrieved from cache.
-
DISABLED =
5 -
The resolved value was the result of the flag being disabled in the management system.
-
UNKNOWN =
6 -
The reason for the resolved value could not be determined.
-
STALE =
7 -
The resolved value is non-authoritative or possibly out of date
-
ERROR =
8 -
The resolved value was the result of an error.
Instance Method Summary
-
#cached?
Returns
trueif this enum value equalsCACHED -
#default?
Returns
trueif this enum value equalsDEFAULT -
#disabled?
Returns
trueif this enum value equalsDISABLED -
#error?
Returns
trueif this enum value equalsERROR -
#split?
Returns
trueif this enum value equalsSPLIT -
#stale?
Returns
trueif this enum value equalsSTALE -
#static?
Returns
trueif this enum value equalsSTATIC -
#targeting_match?
Returns
trueif this enum value equalsTARGETING_MATCH -
#unknown?
Returns
trueif this enum value equalsUNKNOWN