| Modifier and Type | Method and Description |
|---|---|
FlagsAndTraits |
FlagsmithCache.getIfPresent(String key)
Returns the value associated with key in this cache, or null if there is no cached value for key.
|
FlagsAndTraits |
FlagsmithClient.getUserFlagsAndTraits(FeatureUser user)
Get a list of existing user Traits and Flags for the given environment and identity user
It fails silently if there is an error
|
FlagsAndTraits |
FlagsmithClient.getUserFlagsAndTraits(FeatureUser user,
boolean doThrow)
Get a list of existing user Traits and Flags for the given environment and identity user
|
| Modifier and Type | Method and Description |
|---|---|
static String |
FlagsmithClient.getFeatureFlagValue(String featureId,
FlagsAndTraits flagsAndTraits)
Get Feature value (remote config) for given feature id and user
|
static Trait |
FlagsmithClient.getTrait(FlagsAndTraits flagsAndTraits,
String key)
Get user Trait from a given FlagsAndTraits and trait key.
|
static List<Trait> |
FlagsmithClient.getTraits(FlagsAndTraits flagsAndTraits,
String... keys)
Get a list of user Traits for user identity and trait keys
|
static boolean |
FlagsmithClient.hasFeatureFlag(String featureId,
FlagsAndTraits flagsAndTraits)
Check if Feature flag exist and is enabled in a FlagsAndTraits
|
Copyright © 2021. All rights reserved.