| Package | Description |
|---|---|
| com.flagsmith | |
| com.flagsmith.config | |
| com.flagsmith.interfaces | |
| com.flagsmith.models |
| Modifier and Type | Method and Description |
|---|---|
Flags |
FlagsmithClient.getEnvironmentFlags()
Get all the default for flags for the current environment.
|
Flags |
FlagsmithApiWrapper.getFeatureFlags(boolean doThrow)
Get Feature Flags from API.
|
Flags |
FlagsmithClient.getIdentityFlags(String identifier)
Get all the flags for the current environment for a given identity.
|
Flags |
FlagsmithClient.getIdentityFlags(String identifier,
Map<String,Object> traits)
Get all the flags for the current environment for a given identity.
|
Flags |
FlagsmithApiWrapper.identifyUserWithTraits(String identifier,
List<TraitModel> traits,
boolean doThrow) |
| Modifier and Type | Method and Description |
|---|---|
Flags |
FlagsmithCacheConfig.FlagsmithCacheImpl.getIfPresent(String key) |
| Modifier and Type | Method and Description |
|---|---|
com.github.benmanes.caffeine.cache.Cache<String,Flags> |
FlagsmithCacheConfig.FlagsmithCacheImpl.getCache() |
| Constructor and Description |
|---|
FlagsmithCacheImpl(com.github.benmanes.caffeine.cache.Cache<String,Flags> cache) |
FlagsmithCacheImpl(com.github.benmanes.caffeine.cache.Cache<String,Flags> cache,
String envFlagsCacheKey) |
| Modifier and Type | Method and Description |
|---|---|
Flags |
FlagsmithSdk.getFeatureFlags(boolean doThrow) |
Flags |
FlagsmithCache.getIfPresent(String key)
Returns the value associated with key in this cache, or null if there is no cached value for
key.
|
Flags |
FlagsmithSdk.identifyUserWithTraits(String identifier,
List<TraitModel> traits,
boolean doThrow) |
| Modifier and Type | Method and Description |
|---|---|
com.github.benmanes.caffeine.cache.Cache<String,Flags> |
FlagsmithCache.getCache()
Returns the Cache instance.
|
| Modifier and Type | Method and Description |
|---|---|
static Flags |
Flags.fromApiFlags(com.fasterxml.jackson.databind.JsonNode apiFlags,
AnalyticsProcessor analyticsProcessor,
FlagsmithFlagDefaults defaultFlagHandler)
Return the flags instance.
|
static Flags |
Flags.fromApiFlags(List<FeatureStateModel> apiFlags,
AnalyticsProcessor analyticsProcessor,
FlagsmithFlagDefaults defaultFlagHandler)
Return the flags instance.
|
static Flags |
Flags.fromFeatureStateModels(List<FeatureStateModel> featureStates,
AnalyticsProcessor analyticsProcessor)
Build flags object from list of feature states.
|
static Flags |
Flags.fromFeatureStateModels(List<FeatureStateModel> featureStates,
AnalyticsProcessor analyticsProcessor,
Object identityId)
Build flags object from list of feature states.
|
static Flags |
Flags.fromFeatureStateModels(List<FeatureStateModel> featureStates,
AnalyticsProcessor analyticsProcessor,
Object identityId,
DefaultFlagHandler defaultFlagHandler)
Build flags object from list of feature states.
|
Copyright © 2022. All rights reserved.