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
 
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

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.
error(String, Object...) - Method in class com.flagsmith.FlagsmithLogger
 
estimatedSize() - Method in interface com.flagsmith.FlagsmithCache
Returns the approximate number of entries in this cache.
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
 
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
This method returns a Flagsmith cache object that encapsulates methods to manipulate the cache.
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) - Static 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
 
getTrait(FeatureUser, String) - Method in class com.flagsmith.FlagsmithClient
Get user Trait for given user identity and trait key.
getTrait(FlagsAndTraits, String) - Static method in class com.flagsmith.FlagsmithClient
Get user Trait from a given FlagsAndTraits and trait key.
getTraits(FeatureUser, String...) - Method in class com.flagsmith.FlagsmithClient
Get a list of user Traits for user identity and trait keys
getTraits(FlagsAndTraits, String...) - Static 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 It fails silently if there is an error
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) - Static 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
 
httpError(Request, IOException, boolean) - Method in class com.flagsmith.FlagsmithLogger
 

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
 
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
 
parse(String) - Method in class com.flagsmith.Flag
 
parse(String) - Method in class com.flagsmith.FlagsAndTraits
 
parse(String) - Method in class com.flagsmith.IdentityTraits
 
parse(String) - Method in class com.flagsmith.Trait
 

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
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
 
Trait(FeatureUser, String, String) - Constructor for class com.flagsmith.Trait
 

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 © 2021. All rights reserved.