Index

A B C D E F G H I L M N P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

addHttpInterceptor(Interceptor) - Method in class com.flagsmith.config.FlagsmithConfig.Builder
Add a custom HTTP interceptor.
ALL - Enum constant in enum class com.flagsmith.flagengine.SegmentRule.Type
 
AnalyticsProcessor - Class in com.flagsmith.threads
 
AnalyticsProcessor(FlagsmithSdk, FlagsmithLogger, RequestProcessor) - Constructor for class com.flagsmith.threads.AnalyticsProcessor
Instantiate with API wrapper, logger, HTTP client and timeout.
AnalyticsProcessor(FlagsmithSdk, OkHttpClient) - Constructor for class com.flagsmith.threads.AnalyticsProcessor
instantiate with api and client.
AnalyticsProcessor(FlagsmithSdk, OkHttpClient, FlagsmithLogger) - Constructor for class com.flagsmith.threads.AnalyticsProcessor
Instantiate with API wrapper, logger and HTTP client.
AnalyticsProcessor(OkHttpClient) - Constructor for class com.flagsmith.threads.AnalyticsProcessor
instantiate with HTTP client.
ANY - Enum constant in enum class com.flagsmith.flagengine.SegmentRule.Type
 
API - Enum constant in enum class com.flagsmith.models.SegmentMetadata.Source
 
assertValidUser(String) - Method in interface com.flagsmith.interfaces.FlagsmithSdk
validate user has a valid identifier.

B

BaseFlag - Class in com.flagsmith.models
 
BaseFlag() - Constructor for class com.flagsmith.models.BaseFlag
 
BaseModel - Class in com.flagsmith.flagengine.utils.models
 
BaseModel - Class in com.flagsmith.utils.models
 
BaseModel() - Constructor for class com.flagsmith.flagengine.utils.models.BaseModel
 
BaseModel() - Constructor for class com.flagsmith.utils.models.BaseModel
 
baseUri(String) - Method in class com.flagsmith.config.FlagsmithConfig.Builder
Set the base URL for Flagsmith API, overriding default one.
build() - Method in class com.flagsmith.config.FlagsmithCacheConfig.Builder
 
build() - Method in class com.flagsmith.config.FlagsmithConfig.Builder
 
build() - Method in class com.flagsmith.FlagsmithClient.Builder
Builds a FlagsmithClient.

C

calculateSleepTime() - Method in class com.flagsmith.config.Retry
The sleep time based on back off factor.
cleanUp() - Method in class com.flagsmith.config.FlagsmithCacheConfig.FlagsmithCacheImpl
 
cleanUp() - Method in interface com.flagsmith.interfaces.FlagsmithCache
Performs any pending maintenance operations needed by the cache.
close() - Method in class com.flagsmith.FlagsmithApiWrapper
Close the FlagsmithAPIWrapper instance, cleaning up any dependent threads or services which need cleaning up before the instance can be fully destroyed.
close() - Method in class com.flagsmith.FlagsmithClient
Should be called when terminating the client to clean up any resources that need cleaning up.
close() - Method in interface com.flagsmith.interfaces.FlagsmithSdk
 
close() - Method in class com.flagsmith.threads.AnalyticsProcessor
 
close() - Method in class com.flagsmith.threads.RequestProcessor
 
com.flagsmith - package com.flagsmith
 
com.flagsmith.config - package com.flagsmith.config
 
com.flagsmith.exceptions - package com.flagsmith.exceptions
 
com.flagsmith.flagengine - package com.flagsmith.flagengine
 
com.flagsmith.flagengine.segments - package com.flagsmith.flagengine.segments
 
com.flagsmith.flagengine.segments.constants - package com.flagsmith.flagengine.segments.constants
 
com.flagsmith.flagengine.utils - package com.flagsmith.flagengine.utils
 
com.flagsmith.flagengine.utils.exceptions - package com.flagsmith.flagengine.utils.exceptions
 
com.flagsmith.flagengine.utils.models - package com.flagsmith.flagengine.utils.models
 
com.flagsmith.flagengine.utils.types - package com.flagsmith.flagengine.utils.types
 
com.flagsmith.interfaces - package com.flagsmith.interfaces
 
com.flagsmith.mappers - package com.flagsmith.mappers
 
com.flagsmith.models - package com.flagsmith.models
 
com.flagsmith.models.environments - package com.flagsmith.models.environments
 
com.flagsmith.models.features - package com.flagsmith.models.features
 
com.flagsmith.models.identities - package com.flagsmith.models.identities
 
com.flagsmith.models.projects - package com.flagsmith.models.projects
 
com.flagsmith.models.segments - package com.flagsmith.models.segments
 
com.flagsmith.offline - package com.flagsmith.offline
 
com.flagsmith.responses - package com.flagsmith.responses
 
com.flagsmith.threads - package com.flagsmith.threads
 
com.flagsmith.utils - package com.flagsmith.utils
 
com.flagsmith.utils.models - package com.flagsmith.utils.models
 
compare(SegmentConditions, Comparable, Comparable) - Static method in class com.flagsmith.flagengine.utils.types.TypeCasting
Run comparison with condition of primitive type.
compare(SegmentConditions, Object, Object) - Static method in class com.flagsmith.flagengine.utils.types.TypeCasting
Compare the values value1 and value2 with the provided condition.
compareModulo(String, Object) - Static method in class com.flagsmith.flagengine.utils.types.TypeCasting
Modulo is a special case as the condition value holds both the divisor and remainder.
connectTimeout(int) - Method in class com.flagsmith.config.FlagsmithConfig.Builder
Override default connection timeout for client connection.
CONTAINS - Enum constant in enum class com.flagsmith.flagengine.segments.constants.SegmentConditions
 

D

DefaultFlag - Class in com.flagsmith.models
 
DefaultFlag() - Constructor for class com.flagsmith.models.DefaultFlag
 
DefaultFlagHandler - Interface in com.flagsmith.interfaces
 
DuplicateFeatureState - Exception Class in com.flagsmith.flagengine.utils.exceptions
 
DuplicateFeatureState() - Constructor for exception class com.flagsmith.flagengine.utils.exceptions.DuplicateFeatureState
 

E

enableEnvLevelCaching(String) - Method in class com.flagsmith.config.FlagsmithCacheConfig.Builder
Enables caching for environment level flags.
enableLogging() - Method in class com.flagsmith.FlagsmithClient.Builder
Enables logging, the project importing this module must include an implementation slf4j in their pom.
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(Logger) - Method in class com.flagsmith.FlagsmithClient.Builder
Enables logging, the project importing this module must include an implementation slf4j in their pom.
Engine - Class in com.flagsmith.flagengine
 
Engine() - Constructor for class com.flagsmith.flagengine.Engine
 
EngineConstants - Class in com.flagsmith.flagengine
 
EngineConstants() - Constructor for class com.flagsmith.flagengine.EngineConstants
 
EngineMappers - Class in com.flagsmith.mappers
EngineMappers
EngineMappers() - Constructor for class com.flagsmith.mappers.EngineMappers
 
EnvironmentContext - Class in com.flagsmith.flagengine
EnvironmentContext
EnvironmentContext() - Constructor for class com.flagsmith.flagengine.EnvironmentContext
No args constructor for use in serialization
EnvironmentContext(EnvironmentContext) - Constructor for class com.flagsmith.flagengine.EnvironmentContext
 
EnvironmentContext(String, String) - Constructor for class com.flagsmith.flagengine.EnvironmentContext
 
EnvironmentModel - Class in com.flagsmith.models.environments
 
EnvironmentModel() - Constructor for class com.flagsmith.models.environments.EnvironmentModel
 
EQUAL - Enum constant in enum class com.flagsmith.flagengine.segments.constants.SegmentConditions
 
equals(Object) - Method in class com.flagsmith.flagengine.EnvironmentContext
 
equals(Object) - Method in class com.flagsmith.flagengine.EvaluationContext
 
equals(Object) - Method in class com.flagsmith.flagengine.EvaluationResult
 
equals(Object) - Method in class com.flagsmith.flagengine.FeatureContext
 
equals(Object) - Method in class com.flagsmith.flagengine.Features
 
equals(Object) - Method in class com.flagsmith.flagengine.FeatureValue
 
equals(Object) - Method in class com.flagsmith.flagengine.FlagResult
 
equals(Object) - Method in class com.flagsmith.flagengine.Flags
 
equals(Object) - Method in class com.flagsmith.flagengine.SegmentContext
 
equals(Object) - Method in class com.flagsmith.flagengine.SegmentResult
 
equals(Object) - Method in class com.flagsmith.flagengine.SegmentRule
 
equals(Object) - Method in class com.flagsmith.flagengine.Segments
 
error(String, Object...) - Method in class com.flagsmith.FlagsmithLogger
Prints error into the log.
ERROR - Enum constant in enum class com.flagsmith.FlagsmithLoggerLevel
 
estimatedSize() - Method in class com.flagsmith.config.FlagsmithCacheConfig.FlagsmithCacheImpl
 
estimatedSize() - Method in interface com.flagsmith.interfaces.FlagsmithCache
Returns the approximate number of entries in this cache.
evaluateDefaultFlag(String) - Method in class com.flagsmith.FlagsmithFlagDefaults
evaluate the default feature flag.
evaluateDefaultFlag(String) - Method in interface com.flagsmith.interfaces.DefaultFlagHandler
 
EvaluationContext - Class in com.flagsmith.flagengine
EvaluationContext
EvaluationContext() - Constructor for class com.flagsmith.flagengine.EvaluationContext
No args constructor for use in serialization
EvaluationContext(EnvironmentContext, IdentityContext, Segments, Features) - Constructor for class com.flagsmith.flagengine.EvaluationContext
 
EvaluationContext(EvaluationContext) - Constructor for class com.flagsmith.flagengine.EvaluationContext
 
EvaluationResult - Class in com.flagsmith.flagengine
EvaluationResult
EvaluationResult() - Constructor for class com.flagsmith.flagengine.EvaluationResult
No args constructor for use in serialization
EvaluationResult(EvaluationResult) - Constructor for class com.flagsmith.flagengine.EvaluationResult
 
EvaluationResult(Flags, List<SegmentResult>) - Constructor for class com.flagsmith.flagengine.EvaluationResult
 
executeAsync(Request, TypeReference<T>, Boolean) - Method in class com.flagsmith.threads.RequestProcessor
Execute the request in async mode.
executeAsync(Request, TypeReference<T>, Boolean, Retry) - Method in class com.flagsmith.threads.RequestProcessor
Execute the response in async mode.
executeAsync(Request, Boolean) - Method in class com.flagsmith.threads.RequestProcessor
Execute the response in async mode and do not unmarshall.
expireAfterAccess(int, TimeUnit) - Method in class com.flagsmith.config.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.config.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

FeatureContext - Class in com.flagsmith.flagengine
FeatureContext
FeatureContext() - Constructor for class com.flagsmith.flagengine.FeatureContext
No args constructor for use in serialization
FeatureContext(FeatureContext) - Constructor for class com.flagsmith.flagengine.FeatureContext
 
FeatureContext(String, String, Boolean, Object, List<FeatureValue>, Double, Map<String, Object>) - Constructor for class com.flagsmith.flagengine.FeatureContext
 
FeatureMetadata - Class in com.flagsmith.models
FeatureMetadata
FeatureMetadata() - Constructor for class com.flagsmith.models.FeatureMetadata
 
FeatureModel - Class in com.flagsmith.models.features
 
FeatureModel() - Constructor for class com.flagsmith.models.features.FeatureModel
 
FeatureNotFoundError - Exception Class in com.flagsmith.exceptions
 
FeatureNotFoundError() - Constructor for exception class com.flagsmith.exceptions.FeatureNotFoundError
 
FeatureNotFoundError(String) - Constructor for exception class com.flagsmith.exceptions.FeatureNotFoundError
 
Features - Class in com.flagsmith.flagengine
Features
Features() - Constructor for class com.flagsmith.flagengine.Features
 
FeatureSegmentModel - Class in com.flagsmith.models.features
 
FeatureSegmentModel() - Constructor for class com.flagsmith.models.features.FeatureSegmentModel
 
FeatureStateModel - Class in com.flagsmith.models.features
 
FeatureStateModel() - Constructor for class com.flagsmith.models.features.FeatureStateModel
 
FeatureStateNotFound - Exception Class in com.flagsmith.flagengine.utils.exceptions
 
FeatureStateNotFound() - Constructor for exception class com.flagsmith.flagengine.utils.exceptions.FeatureStateNotFound
 
FeatureValue - Class in com.flagsmith.flagengine
FeatureValue
FeatureValue() - Constructor for class com.flagsmith.flagengine.FeatureValue
No args constructor for use in serialization
FeatureValue(FeatureValue) - Constructor for class com.flagsmith.flagengine.FeatureValue
 
FeatureValue(Object, Double, Double) - Constructor for class com.flagsmith.flagengine.FeatureValue
 
Flag - Class in com.flagsmith.models
 
Flag() - Constructor for class com.flagsmith.models.Flag
 
FlagResult - Class in com.flagsmith.flagengine
FlagResult
FlagResult() - Constructor for class com.flagsmith.flagengine.FlagResult
No args constructor for use in serialization
FlagResult(FlagResult) - Constructor for class com.flagsmith.flagengine.FlagResult
 
FlagResult(String, Boolean, Object, String, Map<String, Object>) - Constructor for class com.flagsmith.flagengine.FlagResult
 
Flags - Class in com.flagsmith.flagengine
Flags
Flags - Class in com.flagsmith.models
 
Flags() - Constructor for class com.flagsmith.flagengine.Flags
 
Flags() - Constructor for class com.flagsmith.models.Flags
 
FlagsAndTraitsResponse - Class in com.flagsmith.responses
 
FlagsAndTraitsResponse() - Constructor for class com.flagsmith.responses.FlagsAndTraitsResponse
 
FlagsmithApiError - Exception Class in com.flagsmith.exceptions
 
FlagsmithApiError() - Constructor for exception class com.flagsmith.exceptions.FlagsmithApiError
 
FlagsmithApiError(String) - Constructor for exception class com.flagsmith.exceptions.FlagsmithApiError
 
FlagsmithApiWrapper - Class in com.flagsmith
 
FlagsmithApiWrapper(FlagsmithConfig, HashMap<String, String>, FlagsmithLogger, String) - Constructor for class com.flagsmith.FlagsmithApiWrapper
Instantiate with config, custom headers, logger and apikey.
FlagsmithApiWrapper(FlagsmithConfig, HashMap<String, String>, FlagsmithLogger, String, RequestProcessor) - Constructor for class com.flagsmith.FlagsmithApiWrapper
Instantiate with config, custom headers, logger, apikey and request processor.
FlagsmithApiWrapper(FlagsmithCache, FlagsmithConfig, HashMap<String, String>, FlagsmithLogger, String) - Constructor for class com.flagsmith.FlagsmithApiWrapper
Instantiate with cache.
FlagsmithCache - Interface in com.flagsmith.interfaces
Here are the fields we expose from the cache to outside this library.
FlagsmithCacheConfig - Class in com.flagsmith.config
 
FlagsmithCacheConfig.Builder - Class in com.flagsmith.config
 
FlagsmithCacheConfig.FlagsmithCacheImpl - Class in com.flagsmith.config
 
FlagsmithCacheImpl(Cache<String, Flags>) - Constructor for class com.flagsmith.config.FlagsmithCacheConfig.FlagsmithCacheImpl
 
FlagsmithCacheImpl(Cache<String, Flags>, String) - Constructor for class com.flagsmith.config.FlagsmithCacheConfig.FlagsmithCacheImpl
 
FlagsmithClient - Class in com.flagsmith
A client for Flagsmith API.
FlagsmithClient.Builder - Class in com.flagsmith
 
FlagsmithClientError - Exception Class in com.flagsmith.exceptions
 
FlagsmithClientError() - Constructor for exception class com.flagsmith.exceptions.FlagsmithClientError
 
FlagsmithClientError(String) - Constructor for exception class com.flagsmith.exceptions.FlagsmithClientError
 
FlagsmithConfig - Class in com.flagsmith.config
A default configuration for the Flagsmith client SDK.
FlagsmithConfig(FlagsmithConfig.Builder) - Constructor for class com.flagsmith.config.FlagsmithConfig
 
FlagsmithConfig.Builder - Class in com.flagsmith.config
 
FlagsmithConfig.Protocol - Enum Class in com.flagsmith.config
 
FlagsmithException - Exception Class in com.flagsmith
 
FlagsmithException(String) - Constructor for exception class com.flagsmith.FlagsmithException
 
FlagsmithException(Throwable) - Constructor for exception class 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 Class in com.flagsmith
 
FlagsmithRuntimeError - Exception Class in com.flagsmith.exceptions
 
FlagsmithRuntimeError() - Constructor for exception class com.flagsmith.exceptions.FlagsmithRuntimeError
 
FlagsmithRuntimeError(String) - Constructor for exception class com.flagsmith.exceptions.FlagsmithRuntimeError
 
FlagsmithRuntimeError(Throwable) - Constructor for exception class com.flagsmith.exceptions.FlagsmithRuntimeError
 
FlagsmithSdk - Interface in com.flagsmith.interfaces
 
flush() - Method in class com.flagsmith.threads.AnalyticsProcessor
Push the analytics to the server.
fromApiFlag(JsonNode) - Static method in class com.flagsmith.models.Flag
Flag from api.
fromApiFlags(JsonNode, AnalyticsProcessor, FlagsmithFlagDefaults) - Static method in class com.flagsmith.models.Flags
Return the flags instance.
fromApiFlags(List<FeatureStateModel>, AnalyticsProcessor, FlagsmithFlagDefaults) - Static method in class com.flagsmith.models.Flags
Return the flags instance.
fromEvaluationResult(EvaluationResult, AnalyticsProcessor, DefaultFlagHandler) - Static method in class com.flagsmith.models.Flags
Build flags object from evaluation result.
fromFeatureStateModel(FeatureStateModel) - Static method in class com.flagsmith.models.Flag
return flag from feature state model and identity id.
fromFeatureStateModels(List<FeatureStateModel>, AnalyticsProcessor) - Static method in class com.flagsmith.models.Flags
Build flags object from list of feature states.
fromFeatureStateModels(List<FeatureStateModel>, AnalyticsProcessor, DefaultFlagHandler) - Static method in class com.flagsmith.models.Flags
Build flags object from list of feature states.
fromObject(Object) - Static method in class com.flagsmith.models.TraitConfig
Convert a user-provided object to a TraitConfig instance.
fromValue(String) - Static method in enum class com.flagsmith.flagengine.SegmentRule.Type
 

G

getAdditionalProperties() - Method in class com.flagsmith.flagengine.EnvironmentContext
 
getAdditionalProperties() - Method in class com.flagsmith.flagengine.EvaluationContext
 
getAdditionalProperties() - Method in class com.flagsmith.flagengine.EvaluationResult
 
getAdditionalProperties() - Method in class com.flagsmith.flagengine.FeatureContext
 
getAdditionalProperties() - Method in class com.flagsmith.flagengine.Features
 
getAdditionalProperties() - Method in class com.flagsmith.flagengine.FeatureValue
 
getAdditionalProperties() - Method in class com.flagsmith.flagengine.FlagResult
 
getAdditionalProperties() - Method in class com.flagsmith.flagengine.Flags
 
getAdditionalProperties() - Method in class com.flagsmith.flagengine.IdentityContext
 
getAdditionalProperties() - Method in class com.flagsmith.flagengine.SegmentContext
 
getAdditionalProperties() - Method in class com.flagsmith.flagengine.SegmentResult
 
getAdditionalProperties() - Method in class com.flagsmith.flagengine.SegmentRule
 
getAdditionalProperties() - Method in class com.flagsmith.flagengine.Segments
 
getAdditionalProperties() - Method in class com.flagsmith.flagengine.Traits
 
getAllFlags() - Method in class com.flagsmith.models.Flags
returns the list of all flags.
getCache() - Method in class com.flagsmith.config.FlagsmithCacheConfig.FlagsmithCacheImpl
 
getCache() - Method in class com.flagsmith.FlagsmithApiWrapper
 
getCache() - Method in class com.flagsmith.FlagsmithClient
Returns a FlagsmithCache cache object that encapsulates methods to manipulate the cache.
getCache() - Method in interface com.flagsmith.interfaces.FlagsmithCache
Returns the Cache instance.
getCache() - Method in interface com.flagsmith.interfaces.FlagsmithSdk
 
getConditions() - Method in class com.flagsmith.flagengine.SegmentRule
Conditions
getConfig() - Method in class com.flagsmith.FlagsmithApiWrapper
 
getConfig() - Method in interface com.flagsmith.interfaces.FlagsmithSdk
 
getEnabled() - Method in class com.flagsmith.flagengine.FeatureContext
Enabled
getEnabled() - Method in class com.flagsmith.flagengine.FlagResult
Enabled
getEnvFlagsCacheKey() - Method in class com.flagsmith.config.FlagsmithCacheConfig.FlagsmithCacheImpl
 
getEnvFlagsCacheKey() - Method in interface com.flagsmith.interfaces.FlagsmithCache
Returns the environment level flags/traits cache key.
getEnvironment() - Method in class com.flagsmith.flagengine.EvaluationContext
EnvironmentContext
getEnvironment() - Method in interface com.flagsmith.interfaces.IOfflineHandler
 
getEnvironment() - Method in class com.flagsmith.offline.LocalFileHandler
 
getEnvironmentFlags() - Method in class com.flagsmith.FlagsmithClient
Get all the default for flags for the current environment.
getEvaluationContext() - Method in class com.flagsmith.FlagsmithApiWrapper
 
getEvaluationContext() - Method in interface com.flagsmith.interfaces.FlagsmithSdk
 
getEvaluationResult(EvaluationContext) - Static method in class com.flagsmith.flagengine.Engine
Get evaluation result for a given evaluation context.
getFeatureFlags(boolean) - Method in class com.flagsmith.FlagsmithApiWrapper
Get Feature Flags from API.
getFeatureFlags(boolean) - Method in interface com.flagsmith.interfaces.FlagsmithSdk
 
getFeatures() - Method in class com.flagsmith.flagengine.EvaluationContext
Features
getFeatureValue(String) - Method in class com.flagsmith.models.Flags
Get the feature value, null if not present.
getFlag(String) - Method in class com.flagsmith.models.Flags
Get the feature, null if not present.
getFlags() - Method in class com.flagsmith.flagengine.EvaluationResult
Flags
getFlagsmithId() - Method in class com.flagsmith.models.FeatureMetadata
 
getFlagsmithId() - Method in class com.flagsmith.models.SegmentMetadata
 
getHashedPercentageForObjectIds(List<String>) - Method in class com.flagsmith.flagengine.utils.Hashing
Returns the percentage of hash of the list of object IDs.
getHashedPercentageForObjectIds(List<String>, Integer) - Method in class com.flagsmith.flagengine.utils.Hashing
Returns the percentage of hash of the list of object IDs with iteration.
getIdentifier() - Method in class com.flagsmith.flagengine.IdentityContext
Identifier
getIdentity() - Method in class com.flagsmith.flagengine.EvaluationContext
Identity context used for identity-based evaluation.
getIdentityFlags(String) - Method in class com.flagsmith.FlagsmithClient
Get all the flags for the current environment for a given identity.
getIdentityFlags(String, Map<String, Object>) - Method in class com.flagsmith.FlagsmithClient
Get all the flags for the current environment for a given identity.
getIdentityFlags(String, Map<String, Object>, boolean) - Method in class com.flagsmith.FlagsmithClient
Get all the flags for the current environment for a given identity.
getIdentityFlagsCacheKey(String, boolean) - Method in class com.flagsmith.config.FlagsmithCacheConfig.FlagsmithCacheImpl
 
getIdentityFlagsCacheKey(String, boolean) - Method in interface com.flagsmith.interfaces.FlagsmithCache
Returns the cache key for a given identity.
getIdentitySegments(String) - Method in class com.flagsmith.FlagsmithClient
Get a list of segments that the given identity is in.
getIdentitySegments(String, Map<String, Object>) - Method in class com.flagsmith.FlagsmithClient
Get a list of segments that the given identity is in.
getIfPresent(String) - Method in class com.flagsmith.config.FlagsmithCacheConfig.FlagsmithCacheImpl
 
getIfPresent(String) - Method in interface com.flagsmith.interfaces.FlagsmithCache
Returns the value associated with key in this cache, or null if there is no cached value for key.
getInstance() - Static method in class com.flagsmith.flagengine.utils.Hashing
Returns the hashing instance.
getIsThreadAlive() - Method in class com.flagsmith.threads.PollingManager
Get thread status.
getIsTransient() - Method in class com.flagsmith.models.TraitConfig
Get a boolean indicating whether the trait is transient.
getKey() - Method in class com.flagsmith.flagengine.EnvironmentContext
Key
getKey() - Method in class com.flagsmith.flagengine.FeatureContext
Key
getKey() - Method in class com.flagsmith.flagengine.IdentityContext
Key
getKey() - Method in class com.flagsmith.flagengine.SegmentContext
Key
getLogger() - Method in class com.flagsmith.FlagsmithApiWrapper
 
getMapper() - Static method in class com.flagsmith.MapperFactory
Get default ObjectMapper.
getMD5(String) - Method in class com.flagsmith.flagengine.utils.Hashing
returns the mdt of the string provided.
getMetadata() - Method in class com.flagsmith.flagengine.FeatureContext
FeatureMetadata
getMetadata() - Method in class com.flagsmith.flagengine.FlagResult
FeatureMetadata
getMetadata() - Method in class com.flagsmith.flagengine.SegmentContext
SegmentMetadata
getMetadata() - Method in class com.flagsmith.flagengine.SegmentResult
SegmentMetadata
getName() - Method in class com.flagsmith.flagengine.EnvironmentContext
Name
getName() - Method in class com.flagsmith.flagengine.FeatureContext
Name
getName() - Method in class com.flagsmith.flagengine.FlagResult
Name
getName() - Method in class com.flagsmith.flagengine.SegmentContext
Name
getName() - Method in class com.flagsmith.flagengine.SegmentResult
Name
getOverrides() - Method in class com.flagsmith.flagengine.SegmentContext
Overrides
getPriority() - Method in class com.flagsmith.flagengine.FeatureContext
FeaturePriority
getPriority() - Method in class com.flagsmith.flagengine.FeatureValue
VariantPriority
getReason() - Method in class com.flagsmith.flagengine.FlagResult
Reason
getRequestor() - Method in class com.flagsmith.FlagsmithApiWrapper
 
getRequestor() - Method in interface com.flagsmith.interfaces.FlagsmithSdk
 
getRules() - Method in class com.flagsmith.flagengine.SegmentContext
Rules
getRules() - Method in class com.flagsmith.flagengine.SegmentRule
Sub-rules
getSdkTraitModelsFromTraitMap(Map<String, Object>) - Static method in class com.flagsmith.utils.ModelUtils
Convert a user-provided trait map to a list of trait models with transiency info.
getSegments() - Method in class com.flagsmith.flagengine.EvaluationContext
Segments
getSegments() - Method in class com.flagsmith.flagengine.EvaluationResult
Segments
getSource() - Method in class com.flagsmith.models.SegmentMetadata
 
getTraitModelsFromTraitMap(Map<String, Object>) - Static method in class com.flagsmith.utils.ModelUtils
Convert a user-provided trait map to a list of trait models.
getTraits() - Method in class com.flagsmith.flagengine.IdentityContext
Traits
getType() - Method in class com.flagsmith.flagengine.SegmentRule
Type
getValue() - Method in class com.flagsmith.flagengine.FeatureContext
Value
getValue() - Method in class com.flagsmith.flagengine.FeatureValue
Value
getValue() - Method in class com.flagsmith.flagengine.FlagResult
Value
getValue() - Method in enum class com.flagsmith.FlagsmithLoggerLevel
 
getValue() - Method in class com.flagsmith.models.TraitConfig
Get trait value.
getVariants() - Method in class com.flagsmith.flagengine.FeatureContext
Variants
getVersion() - Static method in class com.flagsmith.Versions
 
getWeight() - Method in class com.flagsmith.flagengine.FeatureValue
Weight
GREATER_THAN - Enum constant in enum class com.flagsmith.flagengine.segments.constants.SegmentConditions
 
GREATER_THAN_INCLUSIVE - Enum constant in enum class com.flagsmith.flagengine.segments.constants.SegmentConditions
 

H

hashCode() - Method in class com.flagsmith.flagengine.EnvironmentContext
 
hashCode() - Method in class com.flagsmith.flagengine.EvaluationContext
 
hashCode() - Method in class com.flagsmith.flagengine.EvaluationResult
 
hashCode() - Method in class com.flagsmith.flagengine.FeatureContext
 
hashCode() - Method in class com.flagsmith.flagengine.Features
 
hashCode() - Method in class com.flagsmith.flagengine.FeatureValue
 
hashCode() - Method in class com.flagsmith.flagengine.FlagResult
 
hashCode() - Method in class com.flagsmith.flagengine.Flags
 
hashCode() - Method in class com.flagsmith.flagengine.SegmentContext
 
hashCode() - Method in class com.flagsmith.flagengine.SegmentResult
 
hashCode() - Method in class com.flagsmith.flagengine.SegmentRule
 
hashCode() - Method in class com.flagsmith.flagengine.Segments
 
Hashing - Class in com.flagsmith.flagengine.utils
 
HTTP_1_1 - Enum constant in enum class com.flagsmith.config.FlagsmithConfig.Protocol
 
HTTP_2 - Enum constant in enum class com.flagsmith.config.FlagsmithConfig.Protocol
 
httpError(Request, IOException, boolean) - Method in class com.flagsmith.FlagsmithLogger
Based on configuration prints error into log or throws an exception.
httpError(Request, Response, boolean) - Method in class com.flagsmith.FlagsmithLogger
Based on configuration prints error into log or throws an exception.

I

identifyUserWithTraits(String, List<? extends TraitModel>, boolean, boolean) - Method in class com.flagsmith.FlagsmithApiWrapper
 
identifyUserWithTraits(String, List<? extends TraitModel>, boolean, boolean) - Method in interface com.flagsmith.interfaces.FlagsmithSdk
 
IDENTITY_OVERRIDES - Enum constant in enum class com.flagsmith.models.SegmentMetadata.Source
 
IdentityContext - Class in com.flagsmith.flagengine
IdentityContext
IdentityContext() - Constructor for class com.flagsmith.flagengine.IdentityContext
No args constructor for use in serialization.
IdentityContext(IdentityContext) - Constructor for class com.flagsmith.flagengine.IdentityContext
Copy constructor.
IdentityContext(String, String) - Constructor for class com.flagsmith.flagengine.IdentityContext
Constructor with required fields.
IdentityContext(String, String, Traits) - Constructor for class com.flagsmith.flagengine.IdentityContext
Constructor with all fields.
IdentityModel - Class in com.flagsmith.models.identities
 
IdentityModel() - Constructor for class com.flagsmith.models.identities.IdentityModel
 
IN - Enum constant in enum class com.flagsmith.flagengine.segments.constants.SegmentConditions
 
info(String, Object...) - Method in class com.flagsmith.FlagsmithLogger
Prints info into the log.
INFO - Enum constant in enum class com.flagsmith.FlagsmithLoggerLevel
 
invalidate(String) - Method in class com.flagsmith.config.FlagsmithCacheConfig.FlagsmithCacheImpl
 
invalidate(String) - Method in interface com.flagsmith.interfaces.FlagsmithCache
Discards any cached value for key userId.
invalidateAll() - Method in class com.flagsmith.config.FlagsmithCacheConfig.FlagsmithCacheImpl
 
invalidateAll() - Method in interface com.flagsmith.interfaces.FlagsmithCache
Discards all entries in the cache.
InvalidPercentageAllocation - Exception Class in com.flagsmith.flagengine.utils.exceptions
 
InvalidPercentageAllocation() - Constructor for exception class com.flagsmith.flagengine.utils.exceptions.InvalidPercentageAllocation
 
IOfflineHandler - Interface in com.flagsmith.interfaces
 
IS_NOT_SET - Enum constant in enum class com.flagsmith.flagengine.segments.constants.SegmentConditions
 
IS_SET - Enum constant in enum class com.flagsmith.flagengine.segments.constants.SegmentConditions
 
isBoolean(Object) - Static method in class com.flagsmith.flagengine.utils.types.TypeCasting
Is the object of type Boolean?.
isContextInSegment(EvaluationContext, SegmentContext) - Static method in class com.flagsmith.flagengine.segments.SegmentEvaluator
Check if context is in segment.
isDouble(Object) - Static method in class com.flagsmith.flagengine.utils.types.TypeCasting
Is the object of type Double?.
isFeatureEnabled(String) - Method in class com.flagsmith.models.Flags
is feature enabled, null if not present.
isFloat(Object) - Static method in class com.flagsmith.flagengine.utils.types.TypeCasting
Is the object of type Float?.
isInteger(Object) - Static method in class com.flagsmith.flagengine.utils.types.TypeCasting
Is the object of type Integer?.
isRetry(Integer) - Method in class com.flagsmith.config.Retry
Should Retry or not?.
isSemver(Object) - Static method in class com.flagsmith.flagengine.utils.types.TypeCasting
Is the object of type Semver?.
isSemver(String) - Static method in class com.flagsmith.flagengine.utils.SemanticVersioning
Checks if the given string have `:semver` suffix or not.

L

LESS_THAN - Enum constant in enum class com.flagsmith.flagengine.segments.constants.SegmentConditions
 
LESS_THAN_INCLUSIVE - Enum constant in enum class com.flagsmith.flagengine.segments.constants.SegmentConditions
 
load(JsonNode, Class<T>) - Static method in class com.flagsmith.flagengine.utils.models.BaseModel
Load the json node to object of class type T.
load(JsonNode, Class<T>) - Static method in class com.flagsmith.utils.models.BaseModel
Load the json node to object of class type T.
LocalFileHandler - Class in com.flagsmith.offline
 
LocalFileHandler(String) - Constructor for class com.flagsmith.offline.LocalFileHandler
Instantiate a LocalFileHandler for use as an OfflineHandler.

M

mapContextAndIdentityDataToContext(EvaluationContext, String, Map<String, Object>) - Static method in class com.flagsmith.mappers.EngineMappers
Maps context and identity data to evaluation context.
mapEnvironmentDocumentToContext(JsonNode) - Static method in class com.flagsmith.mappers.EngineMappers
Maps environment document to evaluation context.
mapEnvironmentToContext(EnvironmentModel) - Static method in class com.flagsmith.mappers.EngineMappers
Maps environment model to evaluation context.
mapFlagResultToFlag(FlagResult) - Static method in class com.flagsmith.mappers.EngineMappers
Maps FlagResult to Flag.
MapperFactory - Class in com.flagsmith
Factory for object mapper instances.
MapperFactory() - Constructor for class com.flagsmith.MapperFactory
 
maxSize(int) - Method in class com.flagsmith.config.FlagsmithCacheConfig.Builder
Specifies the maximum number of entries the cache may contain.
ModelUtils - Class in com.flagsmith.utils
 
ModelUtils() - Constructor for class com.flagsmith.utils.ModelUtils
 
MODULO - Enum constant in enum class com.flagsmith.flagengine.segments.constants.SegmentConditions
 
MultivariateFeatureOptionModel - Class in com.flagsmith.models.features
 
MultivariateFeatureOptionModel() - Constructor for class com.flagsmith.models.features.MultivariateFeatureOptionModel
 
MultivariateFeatureStateValueModel - Class in com.flagsmith.models.features
 
MultivariateFeatureStateValueModel() - Constructor for class com.flagsmith.models.features.MultivariateFeatureStateValueModel
 

N

newBuilder() - Static method in class com.flagsmith.config.FlagsmithCacheConfig
 
newBuilder() - Static method in class com.flagsmith.config.FlagsmithConfig
 
newBuilder() - Static method in class com.flagsmith.FlagsmithClient
 
newGetRequest(HttpUrl) - Method in class com.flagsmith.FlagsmithApiWrapper
Returns a build request with GET.
newGetRequest(HttpUrl) - Method in interface com.flagsmith.interfaces.FlagsmithSdk
 
newPostRequest(HttpUrl, RequestBody) - Method in class com.flagsmith.FlagsmithApiWrapper
Returns a build request with GET.
newPostRequest(HttpUrl, RequestBody) - Method in interface com.flagsmith.interfaces.FlagsmithSdk
 
NONE - Enum constant in enum class com.flagsmith.flagengine.SegmentRule.Type
 
NOT_CONTAINS - Enum constant in enum class com.flagsmith.flagengine.segments.constants.SegmentConditions
 
NOT_EQUAL - Enum constant in enum class com.flagsmith.flagengine.segments.constants.SegmentConditions
 

P

PERCENTAGE_SPLIT - Enum constant in enum class com.flagsmith.flagengine.segments.constants.SegmentConditions
 
PollingManager - Class in com.flagsmith.threads
 
PollingManager(FlagsmithClient) - Constructor for class com.flagsmith.threads.PollingManager
 
PollingManager(FlagsmithClient, Integer) - Constructor for class com.flagsmith.threads.PollingManager
Instantiate the polling manager with client and interval for refresh.
ProjectModel - Class in com.flagsmith.models.projects
 
ProjectModel() - Constructor for class com.flagsmith.models.projects.ProjectModel
 

R

readTimeout(int) - Method in class com.flagsmith.config.FlagsmithConfig.Builder
Override default read timeout for client connection.
recordStats() - Method in class com.flagsmith.config.FlagsmithCacheConfig.Builder
Enables the accumulation of CacheStats during the operation of the cache.
REGEX - Enum constant in enum class com.flagsmith.flagengine.segments.constants.SegmentConditions
 
removeSemver(String) - Static method in class com.flagsmith.flagengine.utils.SemanticVersioning
Remove the semver suffix(i.e: last 7 characters) from the given value.
RequestProcessor - Class in com.flagsmith.threads
 
RequestProcessor(OkHttpClient, FlagsmithLogger) - Constructor for class com.flagsmith.threads.RequestProcessor
 
RequestProcessor(OkHttpClient, FlagsmithLogger, Retry) - Constructor for class com.flagsmith.threads.RequestProcessor
Instantiate with client, logger and retries.
retries(Retry) - Method in class com.flagsmith.config.FlagsmithConfig.Builder
Add retries for HTTP request to the builder.
Retry - Class in com.flagsmith.config
An implementation in Java for the Retry component of the Python urllib3 library.
Retry(Integer) - Constructor for class com.flagsmith.config.Retry
 
retryAttempted() - Method in class com.flagsmith.config.Retry
 

S

SdkTraitModel - Class in com.flagsmith.models
 
SdkTraitModel() - Constructor for class com.flagsmith.models.SdkTraitModel
 
Segment - Class in com.flagsmith.models
 
Segment() - Constructor for class com.flagsmith.models.Segment
 
SegmentCondition - Class in com.flagsmith.flagengine
 
SegmentCondition() - Constructor for class com.flagsmith.flagengine.SegmentCondition
No args constructor for use in serialization.
SegmentCondition(SegmentCondition) - Constructor for class com.flagsmith.flagengine.SegmentCondition
Copy constructor.
SegmentCondition(SegmentConditions, String, Object) - Constructor for class com.flagsmith.flagengine.SegmentCondition
Constructor with all fields.
SegmentConditionModel - Class in com.flagsmith.models.segments
 
SegmentConditionModel() - Constructor for class com.flagsmith.models.segments.SegmentConditionModel
 
SegmentConditions - Enum Class in com.flagsmith.flagengine.segments.constants
 
SegmentContext - Class in com.flagsmith.flagengine
SegmentContext
SegmentContext() - Constructor for class com.flagsmith.flagengine.SegmentContext
No args constructor for use in serialization
SegmentContext(SegmentContext) - Constructor for class com.flagsmith.flagengine.SegmentContext
 
SegmentContext(String, String, List<SegmentRule>, List<FeatureContext>, Map<String, Object>) - Constructor for class com.flagsmith.flagengine.SegmentContext
 
SegmentEvaluator - Class in com.flagsmith.flagengine.segments
 
SegmentEvaluator() - Constructor for class com.flagsmith.flagengine.segments.SegmentEvaluator
 
SegmentMetadata - Class in com.flagsmith.models
SegmentMetadata
SegmentMetadata() - Constructor for class com.flagsmith.models.SegmentMetadata
 
SegmentMetadata.Source - Enum Class in com.flagsmith.models
Source
SegmentModel - Class in com.flagsmith.models.segments
 
SegmentModel() - Constructor for class com.flagsmith.models.segments.SegmentModel
 
SegmentResult - Class in com.flagsmith.flagengine
SegmentResult
SegmentResult() - Constructor for class com.flagsmith.flagengine.SegmentResult
No args constructor for use in serialization
SegmentResult(SegmentResult) - Constructor for class com.flagsmith.flagengine.SegmentResult
 
SegmentResult(String, Map<String, Object>) - Constructor for class com.flagsmith.flagengine.SegmentResult
 
SegmentRule - Class in com.flagsmith.flagengine
SegmentRule
SegmentRule() - Constructor for class com.flagsmith.flagengine.SegmentRule
No args constructor for use in serialization
SegmentRule(SegmentRule) - Constructor for class com.flagsmith.flagengine.SegmentRule
 
SegmentRule(SegmentRule.Type, List<SegmentCondition>, List<SegmentRule>) - Constructor for class com.flagsmith.flagengine.SegmentRule
 
SegmentRule.Type - Enum Class in com.flagsmith.flagengine
Type
SegmentRuleModel - Class in com.flagsmith.models.segments
 
SegmentRuleModel() - Constructor for class com.flagsmith.models.segments.SegmentRuleModel
 
Segments - Class in com.flagsmith.flagengine
Segments
Segments() - Constructor for class com.flagsmith.flagengine.Segments
 
SemanticVersioning - Class in com.flagsmith.flagengine.utils
 
SemanticVersioning() - Constructor for class com.flagsmith.flagengine.utils.SemanticVersioning
 
setAdditionalProperty(String, FeatureContext) - Method in class com.flagsmith.flagengine.Features
 
setAdditionalProperty(String, FlagResult) - Method in class com.flagsmith.flagengine.Flags
 
setAdditionalProperty(String, SegmentContext) - Method in class com.flagsmith.flagengine.Segments
 
setAdditionalProperty(String, Object) - Method in class com.flagsmith.flagengine.EnvironmentContext
 
setAdditionalProperty(String, Object) - Method in class com.flagsmith.flagengine.EvaluationContext
 
setAdditionalProperty(String, Object) - Method in class com.flagsmith.flagengine.EvaluationResult
 
setAdditionalProperty(String, Object) - Method in class com.flagsmith.flagengine.FeatureContext
 
setAdditionalProperty(String, Object) - Method in class com.flagsmith.flagengine.FeatureValue
 
setAdditionalProperty(String, Object) - Method in class com.flagsmith.flagengine.FlagResult
 
setAdditionalProperty(String, Object) - Method in class com.flagsmith.flagengine.IdentityContext
Set additional property.
setAdditionalProperty(String, Object) - Method in class com.flagsmith.flagengine.SegmentContext
 
setAdditionalProperty(String, Object) - Method in class com.flagsmith.flagengine.SegmentResult
 
setAdditionalProperty(String, Object) - Method in class com.flagsmith.flagengine.SegmentRule
 
setAdditionalProperty(String, Object) - Method in class com.flagsmith.flagengine.Traits
Set additional property.
setApiKey(String) - Method in class com.flagsmith.FlagsmithClient.Builder
Set the environment API key.
setConditions(List<SegmentCondition>) - Method in class com.flagsmith.flagengine.SegmentRule
Conditions
setDefaultFlagValueFunc(Function<String, BaseFlag>) - Method in class com.flagsmith.FlagsmithFlagDefaults
Set the evaluation function.
setDefaultFlagValueFunc(Function<String, BaseFlag>) - Method in interface com.flagsmith.interfaces.DefaultFlagHandler
 
setDefaultFlagValueFunction(Function<String, BaseFlag>) - 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.
setEnabled(Boolean) - Method in class com.flagsmith.flagengine.FeatureContext
Enabled
setEnabled(Boolean) - Method in class com.flagsmith.flagengine.FlagResult
Enabled
setEnvironment(EnvironmentContext) - Method in class com.flagsmith.flagengine.EvaluationContext
EnvironmentContext
setFeatures(Features) - Method in class com.flagsmith.flagengine.EvaluationContext
Features
setFlags(Flags) - Method in class com.flagsmith.flagengine.EvaluationResult
Flags
setFlagsmithFlagDefaults(FlagsmithFlagDefaults) - Method in class com.flagsmith.config.FlagsmithConfig
 
setFlagsmithId(Integer) - Method in class com.flagsmith.models.FeatureMetadata
 
setFlagsmithId(Integer) - Method in class com.flagsmith.models.SegmentMetadata
 
setIdentifier(String) - Method in class com.flagsmith.flagengine.IdentityContext
Identifier
setIdentity(IdentityContext) - Method in class com.flagsmith.flagengine.EvaluationContext
Identity context used for identity-based evaluation.
setInstance(Hashing) - Static method in class com.flagsmith.flagengine.utils.Hashing
Set the instance object.
setKey(String) - Method in class com.flagsmith.flagengine.EnvironmentContext
Key
setKey(String) - Method in class com.flagsmith.flagengine.FeatureContext
Key
setKey(String) - Method in class com.flagsmith.flagengine.IdentityContext
Key
setKey(String) - Method in class com.flagsmith.flagengine.SegmentContext
Key
setLogger(Logger) - Method in class com.flagsmith.FlagsmithLogger
 
setLogger(Logger, FlagsmithLoggerLevel) - Method in class com.flagsmith.FlagsmithLogger
 
setMetadata(Map<String, Object>) - Method in class com.flagsmith.flagengine.FeatureContext
FeatureMetadata
setMetadata(Map<String, Object>) - Method in class com.flagsmith.flagengine.FlagResult
FeatureMetadata
setMetadata(Map<String, Object>) - Method in class com.flagsmith.flagengine.SegmentContext
SegmentMetadata
setMetadata(Map<String, Object>) - Method in class com.flagsmith.flagengine.SegmentResult
SegmentMetadata
setName(String) - Method in class com.flagsmith.flagengine.EnvironmentContext
Name
setName(String) - Method in class com.flagsmith.flagengine.FeatureContext
Name
setName(String) - Method in class com.flagsmith.flagengine.FlagResult
Name
setName(String) - Method in class com.flagsmith.flagengine.SegmentContext
Name
setName(String) - Method in class com.flagsmith.flagengine.SegmentResult
Name
setOverrides(List<FeatureContext>) - Method in class com.flagsmith.flagengine.SegmentContext
Overrides
setPriority(Double) - Method in class com.flagsmith.flagengine.FeatureContext
FeaturePriority
setPriority(Double) - Method in class com.flagsmith.flagengine.FeatureValue
VariantPriority
setReason(String) - Method in class com.flagsmith.flagengine.FlagResult
Reason
setRequestor(RequestProcessor) - Method in class com.flagsmith.FlagsmithApiWrapper
 
setRules(List<SegmentRule>) - Method in class com.flagsmith.flagengine.SegmentContext
Rules
setRules(List<SegmentRule>) - Method in class com.flagsmith.flagengine.SegmentRule
Sub-rules
setSegments(Segments) - Method in class com.flagsmith.flagengine.EvaluationContext
Segments
setSegments(List<SegmentResult>) - Method in class com.flagsmith.flagengine.EvaluationResult
Segments
setSource(SegmentMetadata.Source) - Method in class com.flagsmith.models.SegmentMetadata
 
setTraits(Traits) - Method in class com.flagsmith.flagengine.IdentityContext
Traits
setType(SegmentRule.Type) - Method in class com.flagsmith.flagengine.SegmentRule
Type
setValue(JsonNode) - Method in class com.flagsmith.flagengine.SegmentCondition
Set JsonNode value.
setValue(Object) - Method in class com.flagsmith.flagengine.FeatureContext
Value
setValue(Object) - Method in class com.flagsmith.flagengine.FeatureValue
Value
setValue(Object) - Method in class com.flagsmith.flagengine.FlagResult
Value
setValue(String) - Method in class com.flagsmith.flagengine.SegmentCondition
Set String value.
setValue(List<String>) - Method in class com.flagsmith.flagengine.SegmentCondition
Set List value.
setVariants(List<FeatureValue>) - Method in class com.flagsmith.flagengine.FeatureContext
Variants
setWeight(Double) - Method in class com.flagsmith.flagengine.FeatureValue
Weight
sslSocketFactory(SSLSocketFactory, X509TrustManager) - Method in class com.flagsmith.config.FlagsmithConfig.Builder
Added custom SSL certificate.
startPolling() - Method in class com.flagsmith.threads.PollingManager
Start polling of the environment in the new thread.
stats() - Method in class com.flagsmith.config.FlagsmithCacheConfig.FlagsmithCacheImpl
 
stats() - Method in interface com.flagsmith.interfaces.FlagsmithCache
Returns a current snapshot of this cache's cumulative statistics.
stopPolling() - Method in class com.flagsmith.threads.PollingManager
Stop polling of the new environment.
STRONGEST_PRIORITY - Static variable in class com.flagsmith.flagengine.EngineConstants
 

T

toBoolean(Object) - Static method in class com.flagsmith.flagengine.utils.types.TypeCasting
Convert the object to Boolean.
toDouble(Object) - Static method in class com.flagsmith.flagengine.utils.types.TypeCasting
Convert the object to Double.
toFloat(Object) - Static method in class com.flagsmith.flagengine.utils.types.TypeCasting
Convert the object to float.
toInteger(Object) - Static method in class com.flagsmith.flagengine.utils.types.TypeCasting
Convert to object to Integer.
toSemver(Object) - Static method in class com.flagsmith.flagengine.utils.types.TypeCasting
Convert the object to Semver.
toString() - Method in class com.flagsmith.flagengine.EnvironmentContext
 
toString() - Method in class com.flagsmith.flagengine.EvaluationContext
 
toString() - Method in class com.flagsmith.flagengine.EvaluationResult
 
toString() - Method in class com.flagsmith.flagengine.FeatureContext
 
toString() - Method in class com.flagsmith.flagengine.Features
 
toString() - Method in class com.flagsmith.flagengine.FeatureValue
 
toString() - Method in class com.flagsmith.flagengine.FlagResult
 
toString() - Method in class com.flagsmith.flagengine.Flags
 
toString() - Method in class com.flagsmith.flagengine.IdentityContext
 
toString() - Method in class com.flagsmith.flagengine.SegmentContext
 
toString() - Method in class com.flagsmith.flagengine.SegmentResult
 
toString() - Method in class com.flagsmith.flagengine.SegmentRule
 
toString() - Method in enum class com.flagsmith.flagengine.SegmentRule.Type
 
toString() - Method in class com.flagsmith.flagengine.Segments
 
toString() - Method in class com.flagsmith.flagengine.Traits
 
trackFeature(String) - Method in class com.flagsmith.threads.AnalyticsProcessor
Track the feature usage for analytics.
TraitConfig - Class in com.flagsmith.models
Use TraitConfig to provide a trait value along with additional parameters.
TraitConfig(Object, boolean) - Constructor for class com.flagsmith.models.TraitConfig
Get a TraitConfig instance.
TraitModel - Class in com.flagsmith.models
 
TraitModel() - Constructor for class com.flagsmith.models.TraitModel
 
Traits - Class in com.flagsmith.flagengine
Traits
Traits() - Constructor for class com.flagsmith.flagengine.Traits
No args constructor for use in serialization.
Traits(Traits) - Constructor for class com.flagsmith.flagengine.Traits
Copy constructor.
TypeCasting - Class in com.flagsmith.flagengine.utils.types
 
TypeCasting() - Constructor for class com.flagsmith.flagengine.utils.types.TypeCasting
 

U

updateEnvironment() - Method in class com.flagsmith.FlagsmithClient
Load the environment flags in the environment variable from the API.

V

value() - Method in enum class com.flagsmith.flagengine.SegmentRule.Type
 
valueOf(String) - Static method in enum class com.flagsmith.config.FlagsmithConfig.Protocol
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.flagsmith.flagengine.SegmentRule.Type
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.flagsmith.flagengine.segments.constants.SegmentConditions
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.flagsmith.FlagsmithLoggerLevel
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.flagsmith.models.SegmentMetadata.Source
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.flagsmith.config.FlagsmithConfig.Protocol
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.flagsmith.flagengine.SegmentRule.Type
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.flagsmith.flagengine.segments.constants.SegmentConditions
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.flagsmith.FlagsmithLoggerLevel
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.flagsmith.models.SegmentMetadata.Source
Returns an array containing the constants of this enum class, in the order they are declared.
Versions - Class in com.flagsmith
 

W

waitWithBackoff() - Method in class com.flagsmith.config.Retry
 
WEAKEST_PRIORITY - Static variable in class com.flagsmith.flagengine.EngineConstants
 
withAdditionalProperty(String, FeatureContext) - Method in class com.flagsmith.flagengine.Features
 
withAdditionalProperty(String, FlagResult) - Method in class com.flagsmith.flagengine.Flags
 
withAdditionalProperty(String, SegmentContext) - Method in class com.flagsmith.flagengine.Segments
 
withAdditionalProperty(String, Object) - Method in class com.flagsmith.flagengine.EnvironmentContext
 
withAdditionalProperty(String, Object) - Method in class com.flagsmith.flagengine.EvaluationContext
 
withAdditionalProperty(String, Object) - Method in class com.flagsmith.flagengine.EvaluationResult
 
withAdditionalProperty(String, Object) - Method in class com.flagsmith.flagengine.FeatureContext
 
withAdditionalProperty(String, Object) - Method in class com.flagsmith.flagengine.FeatureValue
 
withAdditionalProperty(String, Object) - Method in class com.flagsmith.flagengine.FlagResult
 
withAdditionalProperty(String, Object) - Method in class com.flagsmith.flagengine.IdentityContext
Fluent setter for additional properties.
withAdditionalProperty(String, Object) - Method in class com.flagsmith.flagengine.SegmentContext
 
withAdditionalProperty(String, Object) - Method in class com.flagsmith.flagengine.SegmentResult
 
withAdditionalProperty(String, Object) - Method in class com.flagsmith.flagengine.SegmentRule
 
withAdditionalProperty(String, Object) - Method in class com.flagsmith.flagengine.Traits
Fluent setter for additional property.
withAnalyticsProcessor(AnalyticsProcessor) - Method in class com.flagsmith.config.FlagsmithConfig.Builder
Set the analytics processor.
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.
withConditions(List<SegmentCondition>) - Method in class com.flagsmith.flagengine.SegmentRule
 
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.
withEnableAnalytics(Boolean) - Method in class com.flagsmith.config.FlagsmithConfig.Builder
Enable Analytics Processor.
withEnabled(Boolean) - Method in class com.flagsmith.flagengine.FeatureContext
 
withEnabled(Boolean) - Method in class com.flagsmith.flagengine.FlagResult
 
withEnvironment(EnvironmentContext) - Method in class com.flagsmith.flagengine.EvaluationContext
 
withEnvironmentRefreshIntervalSeconds(Integer) - Method in class com.flagsmith.config.FlagsmithConfig.Builder
set environment refresh rate with polling manager.
withFeatures(Features) - Method in class com.flagsmith.flagengine.EvaluationContext
 
withFlags(Flags) - Method in class com.flagsmith.flagengine.EvaluationResult
 
withFlagsmithApiWrapper(FlagsmithApiWrapper) - Method in class com.flagsmith.FlagsmithClient.Builder
Set the api wrapper.
withIdentifier(String) - Method in class com.flagsmith.flagengine.IdentityContext
Fluent setter for identifier.
withIdentity(IdentityContext) - Method in class com.flagsmith.flagengine.EvaluationContext
 
withKey(String) - Method in class com.flagsmith.flagengine.EnvironmentContext
 
withKey(String) - Method in class com.flagsmith.flagengine.FeatureContext
 
withKey(String) - Method in class com.flagsmith.flagengine.IdentityContext
Fluent setter for key.
withKey(String) - Method in class com.flagsmith.flagengine.SegmentContext
 
withLocalEvaluation(Boolean) - Method in class com.flagsmith.config.FlagsmithConfig.Builder
Local evaluation config.
withMetadata(Map<String, Object>) - Method in class com.flagsmith.flagengine.FeatureContext
 
withMetadata(Map<String, Object>) - Method in class com.flagsmith.flagengine.FlagResult
 
withMetadata(Map<String, Object>) - Method in class com.flagsmith.flagengine.SegmentContext
 
withMetadata(Map<String, Object>) - Method in class com.flagsmith.flagengine.SegmentResult
 
withName(String) - Method in class com.flagsmith.flagengine.EnvironmentContext
 
withName(String) - Method in class com.flagsmith.flagengine.FeatureContext
 
withName(String) - Method in class com.flagsmith.flagengine.FlagResult
 
withName(String) - Method in class com.flagsmith.flagengine.SegmentContext
 
withName(String) - Method in class com.flagsmith.flagengine.SegmentResult
 
withOfflineHandler(IOfflineHandler) - Method in class com.flagsmith.config.FlagsmithConfig.Builder
Set the offline handler (used as a fallback or with offlineMode).
withOfflineMode(Boolean) - Method in class com.flagsmith.config.FlagsmithConfig.Builder
Enable offline mode.
withOperator(SegmentConditions) - Method in class com.flagsmith.flagengine.SegmentCondition
Fluent setter for operator.
withOverrides(List<FeatureContext>) - Method in class com.flagsmith.flagengine.SegmentContext
 
withPollingManager(PollingManager) - Method in class com.flagsmith.FlagsmithClient.Builder
Set the polling manager.
withPriority(Double) - Method in class com.flagsmith.flagengine.FeatureContext
 
withPriority(Double) - Method in class com.flagsmith.flagengine.FeatureValue
 
withProperty(String) - Method in class com.flagsmith.flagengine.SegmentCondition
Fluent setter for property.
withProxy(Proxy) - Method in class com.flagsmith.config.FlagsmithConfig.Builder
Add a Proxy to the HttpClient.
withReason(String) - Method in class com.flagsmith.flagengine.FlagResult
 
withRules(List<SegmentRule>) - Method in class com.flagsmith.flagengine.SegmentContext
 
withRules(List<SegmentRule>) - Method in class com.flagsmith.flagengine.SegmentRule
 
withSegments(Segments) - Method in class com.flagsmith.flagengine.EvaluationContext
 
withSegments(List<SegmentResult>) - Method in class com.flagsmith.flagengine.EvaluationResult
 
withSupportedProtocols(List<FlagsmithConfig.Protocol>) - Method in class com.flagsmith.config.FlagsmithConfig.Builder
Specify the list of protocols supported for calls to the server.
withTraits(Traits) - Method in class com.flagsmith.flagengine.IdentityContext
Fluent setter for traits.
withType(SegmentRule.Type) - Method in class com.flagsmith.flagengine.SegmentRule
 
withValue(Object) - Method in class com.flagsmith.flagengine.FeatureContext
 
withValue(Object) - Method in class com.flagsmith.flagengine.FeatureValue
 
withValue(Object) - Method in class com.flagsmith.flagengine.FlagResult
 
withValue(Object) - Method in class com.flagsmith.flagengine.SegmentCondition
Fluent setter for value.
withValue(String) - Method in class com.flagsmith.flagengine.SegmentCondition
Fluent setter for String value.
withValue(List<String>) - Method in class com.flagsmith.flagengine.SegmentCondition
Fluent setter for List value.
withVariants(List<FeatureValue>) - Method in class com.flagsmith.flagengine.FeatureContext
 
withWeight(Double) - Method in class com.flagsmith.flagengine.FeatureValue
 
writeTimeout(int) - Method in class com.flagsmith.config.FlagsmithConfig.Builder
Override default write timeout for client connection.
A B C D E F G H I L M N P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form