Index
A B C E F G H I J N O P R S T U V
All Classes|All Packages
All Classes|All Packages
All Classes|All Packages
A
- accountDetails() - Method in class io.unlaunch.OfflineUnlaunchClient
- accountDetails() - Method in interface io.unlaunch.UnlaunchClient
-
Returns account details for the Unlaunch project and environment the client is connected to.
- AccountDetails - Class in io.unlaunch
-
Account details for the current
UnlaunchClient
- addProperty(String, Object) - Method in class io.unlaunch.event.Event
- awaitUntilReady(long, TimeUnit) - Method in class io.unlaunch.OfflineUnlaunchClient
- awaitUntilReady(long, TimeUnit) - Method in interface io.unlaunch.UnlaunchClient
-
Causes the current thread to wait until
UnlaunchClient
is initialized, unless the thread is interrupted, or the specified waiting time elapses.
B
- build() - Method in interface io.unlaunch.UnlaunchClientBuilder
- builder() - Static method in interface io.unlaunch.UnlaunchClient
-
Create a builder that can be used to customize and create a
UnlaunchClient
.
C
- clearAllAttributes() - Method in class io.unlaunch.engine.UnlaunchUser
- close() - Method in interface io.unlaunch.event.EventHandler
- close() - Method in class io.unlaunch.store.RefreshableDataStoreProvider
- containsKey(String) - Method in interface io.unlaunch.UnlaunchDynamicConfig
-
Checks if the configuration contains the specified key.
- create() - Static method in interface io.unlaunch.UnlaunchClient
-
Create a
UnlaunchClient
with the SDK key loaded from the UNLAUNCH_SDK_KEY environment variable. - create(String) - Static method in class io.unlaunch.engine.UnlaunchUser
- create(String) - Static method in interface io.unlaunch.UnlaunchClient
-
Constructs an instance of the
UnlaunchClient
using the given SDK key. - create(String, String, String) - Static method in class io.unlaunch.UnlaunchRestWrapper
- create(String, String, Map<String, String>) - Static method in class io.unlaunch.UnlaunchFeature
- create(String, String, Map<String, String>, String) - Static method in class io.unlaunch.UnlaunchFeature
- createAnonymous() - Static method in class io.unlaunch.engine.UnlaunchUser
- createCountAggregatorEventHandler(EventHandler, long, TimeUnit) - Static method in interface io.unlaunch.event.EventHandler
- createGenericEventHandler(String, UnlaunchRestWrapper, long) - Static method in interface io.unlaunch.event.EventHandler
- createGenericEventHandler(String, UnlaunchRestWrapper, long, int) - Static method in interface io.unlaunch.event.EventHandler
- createWithAttributes(String, UnlaunchAttribute...) - Static method in class io.unlaunch.engine.UnlaunchUser
E
- enableLazyLoading() - Method in interface io.unlaunch.UnlaunchClientBuilder
- equals(Object) - Method in class io.unlaunch.AccountDetails
- equals(Object) - Method in class io.unlaunch.engine.UnlaunchUser
-
Returns true if the given UnlaunchUser object has same id as this object and the user attributes map has the same mappings as this map.
- equals(Object) - Method in class io.unlaunch.event.Event
- evaluate(FeatureFlag, UnlaunchUser) - Method in class io.unlaunch.engine.Evaluator
- Evaluator - Class in io.unlaunch.engine
-
This class contains the logic for feature flag evaluation.
- Evaluator() - Constructor for class io.unlaunch.engine.Evaluator
- Event - Class in io.unlaunch.event
-
UnLaunch Event class.
- Event(String, String) - Constructor for class io.unlaunch.event.Event
- Event(String, String, String) - Constructor for class io.unlaunch.event.Event
- Event(String, String, String, Object) - Constructor for class io.unlaunch.event.Event
- EVENT_TYPE_FOR_IMPRESSION_EVENTS - Static variable in class io.unlaunch.utils.UnlaunchConstants
- eventFlushInterval(long, TimeUnit) - Method in interface io.unlaunch.UnlaunchClientBuilder
- EventHandler - Interface in io.unlaunch.event
-
This interface provides event processing for Unlaunch events.
F
- FeatureFlag - Class in io.unlaunch.engine
-
A class representing an Unlaunch feature flag.
- FeatureFlag(String, String, List<Variation>, Map<FeatureFlag, Variation>, List<Rule>, boolean, Variation, Rule, String, String) - Constructor for class io.unlaunch.engine.FeatureFlag
- FLAG_DEFAULT_RETURN_TYPE - Static variable in class io.unlaunch.utils.UnlaunchConstants
- FLAG_INVOCATIONS_COUNT_EVENT_TYPE - Static variable in class io.unlaunch.utils.UnlaunchConstants
- flush() - Method in interface io.unlaunch.event.EventHandler
G
- get(Class<String>) - Method in class io.unlaunch.UnlaunchRestWrapper
- getAllAttributes() - Method in class io.unlaunch.engine.UnlaunchUser
-
Returns a map of user attributes with values.
- getAllFlags() - Method in interface io.unlaunch.store.UnlaunchDataStore
- getAllowList() - Method in class io.unlaunch.engine.Variation
- getAttribute(String) - Method in class io.unlaunch.engine.UnlaunchUser
-
Returns the value to which the specified key is mapped, or
null
if attributes map do not have the key. - getBoolean(String) - Method in interface io.unlaunch.UnlaunchDynamicConfig
-
Gets a boolean associated with the given configuration key.
- getBoolean(String, boolean) - Method in interface io.unlaunch.UnlaunchDynamicConfig
-
Gets a boolean associated with the given configuration key.
- getControlFeatureByName(String) - Static method in class io.unlaunch.utils.UnlaunchConstants
- getCreatedTime() - Method in class io.unlaunch.event.Event
- getDataStore() - Method in class io.unlaunch.store.RefreshableDataStoreProvider
- getDefaultRule() - Method in class io.unlaunch.engine.FeatureFlag
- getDouble(String) - Method in interface io.unlaunch.UnlaunchDynamicConfig
-
Gets a double associated with the given configuration key.
- getDouble(String, double) - Method in interface io.unlaunch.UnlaunchDynamicConfig
-
Gets a double associated with the given configuration key.
- getEnvironmentName() - Method in class io.unlaunch.AccountDetails
- getEnvironmentName() - Method in interface io.unlaunch.store.UnlaunchDataStore
- getEvaluationReason() - Method in class io.unlaunch.event.Impression
- getEvaluationReason() - Method in class io.unlaunch.UnlaunchFeature
- getExpectedVariationKey() - Method in class io.unlaunch.engine.FeatureFlag
- getFeature(String, String) - Method in class io.unlaunch.OfflineUnlaunchClient
- getFeature(String, String) - Method in interface io.unlaunch.UnlaunchClient
-
Same as
UnlaunchClient.getVariation(String, String)
but returns aUnlaunchFeature
object that contains the evaluated variation (variation key) and any configuration (key, value properties or JSON) associated with the evaluated variation, defined in the Unlaunch web console. - getFeature(String, String, UnlaunchAttribute...) - Method in class io.unlaunch.OfflineUnlaunchClient
- getFeature(String, String, UnlaunchAttribute...) - Method in interface io.unlaunch.UnlaunchClient
-
Same as
UnlaunchClient.getFeature(String, String)
but usesattributes
that are passed as argument when evaluating the feature flag's targeting rules. - getFlag(String) - Method in interface io.unlaunch.store.UnlaunchDataStore
- getFlagKey() - Method in class io.unlaunch.event.Impression
- getFlagKey() - Method in class io.unlaunch.UnlaunchFeature
- getFlagStatus() - Method in class io.unlaunch.event.Impression
- getFloat(String) - Method in interface io.unlaunch.UnlaunchDynamicConfig
-
Gets a float associated with the given configuration key.
- getFloat(String, float) - Method in interface io.unlaunch.UnlaunchDynamicConfig
-
Gets a float associated with the given configuration key.
- getId() - Method in class io.unlaunch.engine.UnlaunchUser
-
Returns id of the UnlaunchUser
- getInt(String) - Method in interface io.unlaunch.UnlaunchDynamicConfig
-
Gets a int associated with the given configuration key.
- getInt(String, int) - Method in interface io.unlaunch.UnlaunchDynamicConfig
-
Gets a int associated with the given configuration key.
- getKey() - Method in class io.unlaunch.engine.FeatureFlag
- getKey() - Method in class io.unlaunch.engine.Variation
- getKey() - Method in class io.unlaunch.event.Event
- getKey() - Method in class io.unlaunch.UnlaunchAttribute
- getLastModified() - Method in class io.unlaunch.UnlaunchRestWrapper
- getLong(String) - Method in interface io.unlaunch.UnlaunchDynamicConfig
-
Gets a long associated with the given configuration key.
- getLong(String, long) - Method in interface io.unlaunch.UnlaunchDynamicConfig
-
Gets a long associated with the given configuration key.
- getMachineIp() - Method in class io.unlaunch.event.Impression
- getMachineName() - Method in class io.unlaunch.event.Impression
- getName() - Method in class io.unlaunch.engine.FeatureFlag
- getName() - Method in class io.unlaunch.engine.Variation
- getNoOpDataStore() - Method in class io.unlaunch.store.RefreshableDataStoreProvider
- getOffVariation() - Method in class io.unlaunch.engine.FeatureFlag
- getPrerequisiteFlags() - Method in class io.unlaunch.engine.FeatureFlag
- getProjectName() - Method in class io.unlaunch.AccountDetails
- getProjectName() - Method in interface io.unlaunch.store.UnlaunchDataStore
- getProperties() - Method in class io.unlaunch.engine.Variation
- getProperties() - Method in class io.unlaunch.event.Event
- getRolloutPercentage() - Method in class io.unlaunch.engine.Variation
- getRules() - Method in class io.unlaunch.engine.FeatureFlag
- getSdk() - Method in class io.unlaunch.event.Event
- getSdkVersion() - Method in class io.unlaunch.event.Event
- getSecondaryKey() - Method in class io.unlaunch.event.Event
- getString(String) - Method in interface io.unlaunch.UnlaunchDynamicConfig
-
Gets a string associated with the given configuration key.
- getString(String, String) - Method in interface io.unlaunch.UnlaunchDynamicConfig
-
Gets a string associated with the given configuration key.
- getTotalFlags() - Method in class io.unlaunch.AccountDetails
- getType() - Method in class io.unlaunch.engine.FeatureFlag
- getType() - Method in class io.unlaunch.event.Event
- getUserId() - Method in class io.unlaunch.event.Impression
- getValue() - Method in class io.unlaunch.UnlaunchAttribute
- getVariation(String, String) - Method in class io.unlaunch.OfflineUnlaunchClient
- getVariation(String, String) - Method in interface io.unlaunch.UnlaunchClient
-
Evaluates and returns the variation (variation key) for this feature.
- getVariation(String, String, UnlaunchAttribute...) - Method in class io.unlaunch.OfflineUnlaunchClient
- getVariation(String, String, UnlaunchAttribute...) - Method in interface io.unlaunch.UnlaunchClient
-
Same as
UnlaunchClient.getVariation(String, String)
but usesattributes
that are passed as argument when evaluating the feature flag's targeting rules. - getVariationConfig() - Method in class io.unlaunch.UnlaunchFeature
- getVariationConfigAsMap() - Method in class io.unlaunch.UnlaunchFeature
- getVariationKey() - Method in class io.unlaunch.event.Impression
- getVariationKey() - Method in class io.unlaunch.UnlaunchFeature
- getVariations() - Method in class io.unlaunch.engine.FeatureFlag
H
- handle(Event) - Method in interface io.unlaunch.event.EventHandler
- hashCode() - Method in class io.unlaunch.AccountDetails
- hashCode() - Method in class io.unlaunch.engine.UnlaunchUser
- hashCode() - Method in class io.unlaunch.event.Event
- host(String) - Method in interface io.unlaunch.UnlaunchClientBuilder
I
- Impression - Class in io.unlaunch.event
- Impression(String, String, String, boolean, String) - Constructor for class io.unlaunch.event.Impression
- io.unlaunch - package io.unlaunch
- io.unlaunch.engine - package io.unlaunch.engine
- io.unlaunch.event - package io.unlaunch.event
- io.unlaunch.exceptions - package io.unlaunch.exceptions
- io.unlaunch.store - package io.unlaunch.store
- io.unlaunch.utils - package io.unlaunch.utils
- isEmpty() - Method in interface io.unlaunch.UnlaunchDynamicConfig
-
Checks if the configuration is empty.
- isEnabled() - Method in class io.unlaunch.engine.FeatureFlag
- isFlagExist(String) - Method in interface io.unlaunch.store.UnlaunchDataStore
- isReady() - Method in class io.unlaunch.OfflineUnlaunchClient
- isReady() - Method in interface io.unlaunch.UnlaunchClient
-
Returns true is the client is intialized and ready.
J
- JsonObjectConversionHelper - Class in io.unlaunch.engine
- JsonObjectConversionHelper() - Constructor for class io.unlaunch.engine.JsonObjectConversionHelper
N
- newBoolean(String, boolean) - Static method in class io.unlaunch.UnlaunchAttribute
- newDate(String, long) - Static method in class io.unlaunch.UnlaunchAttribute
- newDateTime(String, long) - Static method in class io.unlaunch.UnlaunchAttribute
- newNumber(String, Number) - Static method in class io.unlaunch.UnlaunchAttribute
- newString(String, String) - Static method in class io.unlaunch.UnlaunchAttribute
O
- offlineMode() - Method in interface io.unlaunch.UnlaunchClientBuilder
- offlineModeWithLocalFeatures(String) - Method in interface io.unlaunch.UnlaunchClientBuilder
- OfflineUnlaunchClient - Class in io.unlaunch
-
Offline Unlaunch client which doesn't connect to the Unlauch server over network to download feature flags, nor does it sends any events or metrics data.
- OfflineUnlaunchClient() - Constructor for class io.unlaunch.OfflineUnlaunchClient
- OfflineUnlaunchClient(String) - Constructor for class io.unlaunch.OfflineUnlaunchClient
P
- pollingInterval(long, TimeUnit) - Method in interface io.unlaunch.UnlaunchClientBuilder
- post(Entity<?>) - Method in class io.unlaunch.UnlaunchRestWrapper
-
Invoke HTTP POST method for the current request synchronously.
- putAttribute(String, Object) - Method in class io.unlaunch.engine.UnlaunchUser
-
Key should be non-null and non-empty string.
R
- RefreshableDataStoreProvider - Class in io.unlaunch.store
-
Provides a singleton instance of the
UnlaunchHttpDataStore
such that it updates itself periodically. - RefreshableDataStoreProvider(UnlaunchRestWrapper, CountDownLatch, AtomicBoolean, long) - Constructor for class io.unlaunch.store.RefreshableDataStoreProvider
- refreshNow() - Method in interface io.unlaunch.store.UnlaunchDataStore
S
- SDK_KEY_ENV_VARIABLE_NAME - Static variable in class io.unlaunch.utils.UnlaunchConstants
- sdkKey(String) - Method in interface io.unlaunch.UnlaunchClientBuilder
- setAllowList(String) - Method in class io.unlaunch.engine.Variation
- setAttributes(Map<String, Object>) - Method in class io.unlaunch.engine.UnlaunchUser
- setKey(String) - Method in class io.unlaunch.engine.Variation
- setName(String) - Method in class io.unlaunch.engine.Variation
- setProperties(Map<String, String>) - Method in class io.unlaunch.engine.Variation
- setRolloutPercentage(long) - Method in class io.unlaunch.engine.Variation
- shutdown() - Method in class io.unlaunch.OfflineUnlaunchClient
- shutdown() - Method in interface io.unlaunch.UnlaunchClient
-
Closes the client by cleaning up all resources such as in memory caches, etc., stops running tasks and rejects any new requests which arrive after this method is called.
- size() - Method in interface io.unlaunch.UnlaunchDynamicConfig
-
Returns the number of keys stored in this configuration.
T
- toString() - Method in class io.unlaunch.AccountDetails
- toString() - Method in class io.unlaunch.event.Event
- toString() - Method in class io.unlaunch.UnlaunchRestWrapper
- toUnlaunchFlags(JSONArray) - Method in class io.unlaunch.engine.JsonObjectConversionHelper
-
Transform flags in JSONArray object to List of feature flags.
U
- UnlaunchAttribute - Class in io.unlaunch
- UnlaunchClient - Interface in io.unlaunch
-
Client for accessing Unlaunch.
- UnlaunchClientBuilder - Interface in io.unlaunch
-
This builder class contains configuration required by Unlaunch client.
- UnlaunchConstants - Class in io.unlaunch.utils
-
Global constants.
- UnlaunchConstants() - Constructor for class io.unlaunch.utils.UnlaunchConstants
- UnlaunchConversionException - Exception in io.unlaunch.exceptions
- UnlaunchConversionException() - Constructor for exception io.unlaunch.exceptions.UnlaunchConversionException
- UnlaunchDataStore - Interface in io.unlaunch.store
-
Interface specifying objects which holds feature flags and related data retrieved from the Unlaunch service.
- UnlaunchDynamicConfig - Interface in io.unlaunch
-
The main interface for accessing Unlaunch Key-Value configuration data in a read-only fashion
- UnlaunchFeature - Class in io.unlaunch
- UnlaunchFlagTypeMismatchException - Exception in io.unlaunch.exceptions
- UnlaunchFlagTypeMismatchException() - Constructor for exception io.unlaunch.exceptions.UnlaunchFlagTypeMismatchException
- UnlaunchFlagTypeMismatchException(String) - Constructor for exception io.unlaunch.exceptions.UnlaunchFlagTypeMismatchException
- UnlaunchFlagTypeMismatchException(String, Throwable) - Constructor for exception io.unlaunch.exceptions.UnlaunchFlagTypeMismatchException
- UnlaunchHttpException - Exception in io.unlaunch.exceptions
-
Exception class to indicate HTTP / REST failures.
- UnlaunchHttpException() - Constructor for exception io.unlaunch.exceptions.UnlaunchHttpException
- UnlaunchHttpException(String) - Constructor for exception io.unlaunch.exceptions.UnlaunchHttpException
- UnlaunchHttpException(String, Throwable) - Constructor for exception io.unlaunch.exceptions.UnlaunchHttpException
- UnlaunchRestWrapper - Class in io.unlaunch
-
Unlaunch wrapper for the javax.ws.rs classes that we use to make requests to our backend.
- UnlaunchRuntimeException - Exception in io.unlaunch.exceptions
-
Base class for all Unlaunch exceptions.
- UnlaunchRuntimeException() - Constructor for exception io.unlaunch.exceptions.UnlaunchRuntimeException
- UnlaunchRuntimeException(Exception) - Constructor for exception io.unlaunch.exceptions.UnlaunchRuntimeException
- UnlaunchRuntimeException(String) - Constructor for exception io.unlaunch.exceptions.UnlaunchRuntimeException
- UnlaunchRuntimeException(String, Throwable) - Constructor for exception io.unlaunch.exceptions.UnlaunchRuntimeException
- UnlaunchTimeoutException - Exception in io.unlaunch.exceptions
-
An exception indicating that timeout has occurred.
- UnlaunchTimeoutException() - Constructor for exception io.unlaunch.exceptions.UnlaunchTimeoutException
- UnlaunchTimeoutException(String) - Constructor for exception io.unlaunch.exceptions.UnlaunchTimeoutException
- UnlaunchTimeoutException(String, Throwable) - Constructor for exception io.unlaunch.exceptions.UnlaunchTimeoutException
- UnlaunchUnknownFlagException - Exception in io.unlaunch.exceptions
-
An exception indicating that a flag that was attempted to be used or accessed does not exists.
- UnlaunchUnknownFlagException() - Constructor for exception io.unlaunch.exceptions.UnlaunchUnknownFlagException
- UnlaunchUnknownFlagException(String) - Constructor for exception io.unlaunch.exceptions.UnlaunchUnknownFlagException
- UnlaunchUnknownFlagException(String, Throwable) - Constructor for exception io.unlaunch.exceptions.UnlaunchUnknownFlagException
- UnlaunchUser - Class in io.unlaunch.engine
V
- Variation - Class in io.unlaunch.engine
-
A class representing feature flag variable.
- Variation() - Constructor for class io.unlaunch.engine.Variation
All Classes|All Packages