Skip navigation links
A B C E F G H I M N P R S T U V W 

A

addHttpInterceptor(Interceptor) - Method in class com.flagsmith.FlagsmithConfig.Builder
Add a custom HTTP interceptor.

B

baseUri(String) - Method in class com.flagsmith.FlagsmithConfig.Builder
Set the base URL for Flagsmith API, overriding default one.
build() - Method in class com.flagsmith.FlagsmithCacheConfig.Builder
 
build() - Method in class com.flagsmith.FlagsmithClient.Builder
Builds a FlagsmithClient.
build() - Method in class com.flagsmith.FlagsmithConfig.Builder
 

C

cleanUp() - Method in interface com.flagsmith.FlagsmithCache
Performs any pending maintenance operations needed by the cache.
com.flagsmith - package com.flagsmith
 
connectTimeout(int) - Method in class com.flagsmith.FlagsmithConfig.Builder
Override default connection timeout for client connection.

E

enableEnvLevelCaching(String) - Method in class com.flagsmith.FlagsmithCacheConfig.Builder
Enables caching for environment level flags.
enableLogging(FlagsmithLoggerLevel) - Method in class com.flagsmith.FlagsmithClient.Builder
Enables logging, the project importing this module must include an implementation slf4j in their pom.
enableLogging() - Method in class com.flagsmith.FlagsmithClient.Builder
Enables logging, the project importing this module must include an implementation slf4j in their pom.
enrichWithDefaultFlags(FlagsAndTraits) - Method in class com.flagsmith.FlagsmithFlagDefaults
It adds any default flags that may be missing from flagsAndTraits.getFlags().
error(String, Object...) - Method in class com.flagsmith.FlagsmithLogger
Prints error into the log.
estimatedSize() - Method in interface com.flagsmith.FlagsmithCache
Returns the approximate number of entries in this cache.
evaluateDefaultFlagPredicate(String) - Method in class com.flagsmith.FlagsmithFlagDefaults
 
evaluateDefaultFlagValue(String) - Method in class com.flagsmith.FlagsmithFlagDefaults
 
expireAfterAccess(int, TimeUnit) - Method in class com.flagsmith.FlagsmithCacheConfig.Builder
Specifies that each entry should be automatically removed from the cache once a fixed duration has elapsed after the entry's creation, the most recent replacement of its value, or its last read.
expireAfterWrite(int, TimeUnit) - Method in class com.flagsmith.FlagsmithCacheConfig.Builder
Specifies that each entry should be automatically removed from the cache once a fixed duration has elapsed after the entry's creation, or the most recent replacement of its value.

F

Feature - Class in com.flagsmith
Representation of the feature model of the feature Flag.
Feature() - Constructor for class com.flagsmith.Feature
 
FeatureUser - Class in com.flagsmith
Representation of the Identity user.
FeatureUser() - Constructor for class com.flagsmith.FeatureUser
 
Flag - Class in com.flagsmith
Representation of the Feature Flag in the system.
Flag() - Constructor for class com.flagsmith.Flag
 
FlagsAndTraits - Class in com.flagsmith
Holds a list of feature flags and user traits.
FlagsAndTraits() - Constructor for class com.flagsmith.FlagsAndTraits
 
FlagsmithCache - Interface in com.flagsmith
Here are the fields we expose from the cache to outside this library.
FlagsmithCacheConfig - Class in com.flagsmith
 
FlagsmithCacheConfig.Builder - Class in com.flagsmith
 
FlagsmithClient - Class in com.flagsmith
A client for Flagsmith API.
FlagsmithClient.Builder - Class in com.flagsmith
 
FlagsmithConfig - Class in com.flagsmith
A default configuration for the Flagsmith client SDK.
FlagsmithConfig(FlagsmithConfig.Builder) - Constructor for class com.flagsmith.FlagsmithConfig
 
FlagsmithConfig.Builder - Class in com.flagsmith
 
FlagsmithException - Exception in com.flagsmith
 
FlagsmithException(String) - Constructor for exception com.flagsmith.FlagsmithException
 
FlagsmithException(Throwable) - Constructor for exception com.flagsmith.FlagsmithException
 
FlagsmithFlagDefaults - Class in com.flagsmith
 
FlagsmithFlagDefaults() - Constructor for class com.flagsmith.FlagsmithFlagDefaults
 
FlagsmithLogger - Class in com.flagsmith
 
FlagsmithLogger() - Constructor for class com.flagsmith.FlagsmithLogger
 
FlagsmithLoggerLevel - Enum in com.flagsmith
 

G

getCache() - Method in class com.flagsmith.FlagsmithClient
Returns a FlagsmithCache cache object that encapsulates methods to manipulate the cache.
getDefaultFeatureFlagNames() - Method in class com.flagsmith.FlagsmithFlagDefaults
 
getDefaultFlags() - Method in class com.flagsmith.FlagsmithClient
Get the default feature flags.
getDefaultFlags() - Method in class com.flagsmith.FlagsmithFlagDefaults
Get the default feature flags.
getEnvFlagsCacheKey() - Method in interface com.flagsmith.FlagsmithCache
Returns the environment level flags/traits cache key.
getFeatureFlags() - Method in class com.flagsmith.FlagsmithClient
Get a list of existing Features for the given environment.
getFeatureFlags(FeatureUser) - Method in class com.flagsmith.FlagsmithClient
Get a list of existing Features for the given environment and user.
getFeatureFlags(FeatureUser, boolean) - Method in class com.flagsmith.FlagsmithClient
Get a list of existing Features for the given environment and user.
getFeatureFlagValue(String) - Method in class com.flagsmith.FlagsmithClient
Get Feature value (remote config) for given feature id.
getFeatureFlagValue(String, FeatureUser) - Method in class com.flagsmith.FlagsmithClient
Get Feature value (remote config) for given feature id and user.
getFeatureFlagValue(String, FlagsAndTraits) - Method in class com.flagsmith.FlagsmithClient
Get Feature value (remote config) for given feature id and user.
getIfPresent(String) - Method in interface com.flagsmith.FlagsmithCache
Returns the value associated with key in this cache, or null if there is no cached value for key.
getMappper() - Static method in class com.flagsmith.MapperFactory
Get default ObjectMapper.
getTrait(FlagsAndTraits, String) - Method in class com.flagsmith.FlagsmithClient
Get user Trait from a given FlagsAndTraits and trait key.
getTrait(FeatureUser, String) - Method in class com.flagsmith.FlagsmithClient
Get user Trait for given user identity and trait key.
getTraits(FlagsAndTraits, String...) - Method in class com.flagsmith.FlagsmithClient
Get a list of user Traits for user identity and trait keys.
getTraits(FeatureUser, String...) - Method in class com.flagsmith.FlagsmithClient
Get a list of user Traits for user identity and trait keys.
getUserFlagsAndTraits(FeatureUser) - Method in class com.flagsmith.FlagsmithClient
Get a list of existing user Traits and Flags for the given environment and identity user.
getUserFlagsAndTraits(FeatureUser, boolean) - Method in class com.flagsmith.FlagsmithClient
Get a list of existing user Traits and Flags for the given environment and identity user.
getValue() - Method in enum com.flagsmith.FlagsmithLoggerLevel
 

H

hasFeatureFlag(String) - Method in class com.flagsmith.FlagsmithClient
Check if Feature flag exist and is enabled.
hasFeatureFlag(String, FeatureUser) - Method in class com.flagsmith.FlagsmithClient
Check if Feature flag exist and is enabled for given user.
hasFeatureFlag(String, FlagsAndTraits) - Method in class com.flagsmith.FlagsmithClient
Check if Feature flag exist and is enabled in a FlagsAndTraits.
httpError(Request, Response, boolean) - Method in class com.flagsmith.FlagsmithLogger
Based on configuration prints error into log or throws an exception.
httpError(Request, IOException, boolean) - Method in class com.flagsmith.FlagsmithLogger
Based on configuration prints error into log or throws an exception.

I

identifyUserWithTraits(FeatureUser, List<Trait>) - Method in class com.flagsmith.FlagsmithClient
Create or update a list of user Traits for given user identity.
identifyUserWithTraits(FeatureUser, List<Trait>, boolean) - Method in class com.flagsmith.FlagsmithClient
Create or update a list of user Traits for given user identity.
IdentityTraits - Class in com.flagsmith
DTO for wrapping user identifier and list of user Traits.
IdentityTraits() - Constructor for class com.flagsmith.IdentityTraits
 
info(String, Object...) - Method in class com.flagsmith.FlagsmithLogger
Prints info into the log.
invalidate(String) - Method in interface com.flagsmith.FlagsmithCache
Discards any cached value for key userId.
invalidateAll() - Method in interface com.flagsmith.FlagsmithCache
Discards all entries in the cache.

M

MapperFactory - Class in com.flagsmith
Factory for object mapper instances.
MapperFactory() - Constructor for class com.flagsmith.MapperFactory
 
maxSize(int) - Method in class com.flagsmith.FlagsmithCacheConfig.Builder
Specifies the maximum number of entries the cache may contain.

N

newBuilder() - Static method in class com.flagsmith.FlagsmithCacheConfig
 
newBuilder() - Static method in class com.flagsmith.FlagsmithClient
 
newBuilder() - Static method in class com.flagsmith.FlagsmithConfig
 

P

parse(String) - Method in class com.flagsmith.Feature
Parses given string into Feature object.
parse(String) - Method in class com.flagsmith.Flag
Parses given string into Flag object.
parse(String) - Method in class com.flagsmith.FlagsAndTraits
Parses given string into FlagsAndTraits object.
parse(String) - Method in class com.flagsmith.IdentityTraits
Parses given string into IdentityTraits object.
parse(String) - Method in class com.flagsmith.Trait
Parses given string into Trait object.

R

readTimeout(int) - Method in class com.flagsmith.FlagsmithConfig.Builder
Override default read timeout for client connection.
recordStats() - Method in class com.flagsmith.FlagsmithCacheConfig.Builder
Enables the accumulation of CacheStats during the operation of the cache.

S

setApiKey(String) - Method in class com.flagsmith.FlagsmithClient.Builder
Set the environment API key.
setDefaultFeatureFlags(Set<String>) - Method in class com.flagsmith.FlagsmithClient.Builder
When a flag does not exist in Flagsmith or there is an error, the SDK will return an empty list of flags by default.
setDefaultFeatureFlags(Set<String>) - Method in class com.flagsmith.FlagsmithFlagDefaults
 
setDefaultFlagPredicate(Predicate<String>) - Method in class com.flagsmith.FlagsmithClient.Builder
When a flag does not exist in Flagsmith or there is an error, the SDK will return false by default.
setDefaultFlagPredicate(Predicate<String>) - Method in class com.flagsmith.FlagsmithFlagDefaults
 
setDefaultFlagValueFunc(Function<String, String>) - Method in class com.flagsmith.FlagsmithFlagDefaults
 
setDefaultFlagValueFunction(Function<String, String>) - Method in class com.flagsmith.FlagsmithClient.Builder
When a flag does not exist in Flagsmith or there is an error, the SDK will return null by default.
setLogger(Logger, FlagsmithLoggerLevel) - Method in class com.flagsmith.FlagsmithLogger
 
setLogger(Logger) - Method in class com.flagsmith.FlagsmithLogger
 
sslSocketFactory(SSLSocketFactory, X509TrustManager) - Method in class com.flagsmith.FlagsmithConfig.Builder
Added custom SSL certificate.
stats() - Method in interface com.flagsmith.FlagsmithCache
Returns a current snapshot of this cache's cumulative statistics.

T

toString() - Method in class com.flagsmith.Feature
 
toString() - Method in class com.flagsmith.Flag
 
toString() - Method in class com.flagsmith.FlagsAndTraits
 
toString() - Method in class com.flagsmith.IdentityTraits
 
toString() - Method in class com.flagsmith.Trait
 
Trait - Class in com.flagsmith
Representation of the user trait model.
Trait() - Constructor for class com.flagsmith.Trait
Default constructor.
Trait(FeatureUser, String, String) - Constructor for class com.flagsmith.Trait
All arguments constructor.

U

updateTrait(FeatureUser, Trait) - Method in class com.flagsmith.FlagsmithClient
Update user Trait for given user and Trait details.
updateTrait(FeatureUser, Trait, boolean) - Method in class com.flagsmith.FlagsmithClient
Update user Trait for given user and Trait details.

V

valueOf(String) - Static method in enum com.flagsmith.FlagsmithLoggerLevel
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.flagsmith.FlagsmithLoggerLevel
Returns an array containing the constants of this enum type, in the order they are declared.

W

withApiUrl(String) - Method in class com.flagsmith.FlagsmithClient.Builder
Set the base URL for Flagsmith API, overriding default one.
withCache(FlagsmithCacheConfig) - Method in class com.flagsmith.FlagsmithClient.Builder
Enable in-memory caching for the Flagsmith API.
withConfiguration(FlagsmithConfig) - Method in class com.flagsmith.FlagsmithClient.Builder
Override default FlagsmithConfig for Flagsmith API.
withCustomHttpHeaders(HashMap<String, String>) - Method in class com.flagsmith.FlagsmithClient.Builder
Add custom HTTP headers to the calls.
writeTimeout(int) - Method in class com.flagsmith.FlagsmithConfig.Builder
Override default write timeout for client connection.
A B C E F G H I M N P R S T U V W 
Skip navigation links

Copyright © 2022. All rights reserved.