A B C D E F G H I J K L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(boolean) - Method in class com.launchdarkly.sdk.ArrayBuilder
-
Adds a new element to the builder.
- add(double) - Method in class com.launchdarkly.sdk.ArrayBuilder
-
Adds a new element to the builder.
- add(float) - Method in class com.launchdarkly.sdk.ArrayBuilder
-
Adds a new element to the builder.
- add(int) - Method in class com.launchdarkly.sdk.ArrayBuilder
-
Adds a new element to the builder.
- add(long) - Method in class com.launchdarkly.sdk.ArrayBuilder
-
Adds a new element to the builder.
- add(LDValue) - Method in class com.launchdarkly.sdk.ArrayBuilder
-
Adds a new element to the builder.
- add(String) - Method in class com.launchdarkly.sdk.ArrayBuilder
-
Adds a new element to the builder.
- anonymous(boolean) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Sets whether this user is anonymous.
- ANONYMOUS - Static variable in class com.launchdarkly.sdk.UserAttribute
-
Represents the anonymous attribute.
- ARRAY - com.launchdarkly.sdk.LDValueType
-
The value is an array.
- ArrayBuilder - Class in com.launchdarkly.sdk
-
A builder created by
LDValue.buildArray()
. - ArrayBuilder() - Constructor for class com.launchdarkly.sdk.ArrayBuilder
- arrayFrom(Iterable<T>) - Method in class com.launchdarkly.sdk.LDValue.Converter
-
Initializes an
LDValue
as an array, from a sequence of this type. - arrayOf(LDValue...) - Static method in class com.launchdarkly.sdk.LDValue
-
Creates an array value from the specified values.
- arrayOf(T...) - Method in class com.launchdarkly.sdk.LDValue.Converter
-
Initializes an
LDValue
as an array, from a sequence of this type. - avatar(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Sets the user's avatar.
- AVATAR - Static variable in class com.launchdarkly.sdk.UserAttribute
-
Represents the avatar URL attribute.
B
- Boolean - Static variable in class com.launchdarkly.sdk.LDValue.Convert
-
A
LDValue.Converter
for booleans. - BOOLEAN - com.launchdarkly.sdk.LDValueType
-
The value is a boolean.
- booleanValue() - Method in class com.launchdarkly.sdk.LDValue
-
Returns this value as a boolean if it is explicitly a boolean.
- build() - Method in class com.launchdarkly.sdk.ArrayBuilder
-
Returns an array containing the builder's current elements.
- build() - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Builds the configured
LDUser
object. - build() - Method in class com.launchdarkly.sdk.ObjectBuilder
-
Returns an object containing the builder's current elements.
- buildArray() - Static method in class com.launchdarkly.sdk.LDValue
-
Starts building an array value.
- Builder(LDUser) - Constructor for class com.launchdarkly.sdk.LDUser.Builder
-
Creates a builder based on an existing user.
- Builder(String) - Constructor for class com.launchdarkly.sdk.LDUser.Builder
-
Creates a builder with the specified key.
- buildObject() - Static method in class com.launchdarkly.sdk.LDValue
-
Starts building an object value.
C
- CLIENT_NOT_READY - com.launchdarkly.sdk.EvaluationReason.ErrorKind
-
Indicates that the caller tried to evaluate a flag before the client had successfully initialized.
- com.launchdarkly.sdk - package com.launchdarkly.sdk
-
Base namespace for LaunchDarkly Java-based SDKs, containing common types.
- com.launchdarkly.sdk.json - package com.launchdarkly.sdk.json
-
Helper classes and methods for interoperability with JSON.
- Converter() - Constructor for class com.launchdarkly.sdk.LDValue.Converter
- country(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Set the country for a user.
- COUNTRY - Static variable in class com.launchdarkly.sdk.UserAttribute
-
Represents the country attribute.
- custom(String, boolean) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Add a boolean-valued custom attribute.
- custom(String, double) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Adds a double-precision numeric custom attribute.
- custom(String, int) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Adds an integer-valued custom attribute.
- custom(String, LDValue) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Add a custom attribute whose value can be any JSON type, using
LDValue
. - custom(String, String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Adds a
String
-valued custom attribute.
D
- deserialize(String, Class<T>) - Static method in class com.launchdarkly.sdk.json.JsonSerialization
-
Parses an object from its JSON representation.
- Double - Static variable in class com.launchdarkly.sdk.LDValue.Convert
-
A
LDValue.Converter
for doubles. - doubleValue() - Method in class com.launchdarkly.sdk.LDValue
-
Returns this value as a
double
if it is numeric.
E
- email(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Sets the user's e-mail address.
- EMAIL - Static variable in class com.launchdarkly.sdk.UserAttribute
-
Represents the user key attribute.
- equals(Object) - Method in class com.launchdarkly.sdk.EvaluationDetail
- equals(Object) - Method in class com.launchdarkly.sdk.EvaluationReason
- equals(Object) - Method in class com.launchdarkly.sdk.LDUser
- equals(Object) - Method in class com.launchdarkly.sdk.LDValue
-
Returns true if the other object is an
LDValue
that is logically equal. - equals(Object) - Method in class com.launchdarkly.sdk.UserAttribute
- error(EvaluationReason.ErrorKind) - Static method in class com.launchdarkly.sdk.EvaluationReason
-
Returns an instance whose
kind
isEvaluationReason.Kind.ERROR
. - error(EvaluationReason.ErrorKind, LDValue) - Static method in class com.launchdarkly.sdk.EvaluationDetail
-
Shortcut for creating an instance with an error result.
- ERROR - com.launchdarkly.sdk.EvaluationReason.Kind
-
Indicates that the flag could not be evaluated, e.g.
- EvaluationDetail<T> - Class in com.launchdarkly.sdk
-
An object returned by the SDK's "variation detail" methods such as
boolVariationDetail
, combining the result of a flag evaluation with an explanation of how it was calculated. - EvaluationReason - Class in com.launchdarkly.sdk
-
Describes the reason that a flag evaluation produced a particular value.
- EvaluationReason.ErrorKind - Enum in com.launchdarkly.sdk
-
Enumerated type defining the possible values of
EvaluationReason.getErrorKind()
. - EvaluationReason.Kind - Enum in com.launchdarkly.sdk
-
Enumerated type defining the possible values of
EvaluationReason.getKind()
. - exception(Exception) - Static method in class com.launchdarkly.sdk.EvaluationReason
-
Returns an instance whose
kind
isEvaluationReason.Kind.ERROR
, with an exception instance. - EXCEPTION - com.launchdarkly.sdk.EvaluationReason.ErrorKind
-
Indicates that an unexpected exception stopped flag evaluation.
F
- fallthrough() - Static method in class com.launchdarkly.sdk.EvaluationReason
-
Returns an instance whose
kind
isEvaluationReason.Kind.FALLTHROUGH
. - fallthrough(boolean) - Static method in class com.launchdarkly.sdk.EvaluationReason
-
Returns an instance whose
kind
isEvaluationReason.Kind.FALLTHROUGH
and where the inExperiment parameter represents whether the evaluation was part of an experiment. - FALLTHROUGH - com.launchdarkly.sdk.EvaluationReason.Kind
-
Indicates that the flag was on but the user did not match any targets or rules.
- FIRST_NAME - Static variable in class com.launchdarkly.sdk.UserAttribute
-
Represents the first name attribute.
- firstName(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Sets the user's first name
- FLAG_NOT_FOUND - com.launchdarkly.sdk.EvaluationReason.ErrorKind
-
Indicates that the caller provided a flag key that did not match any known flag.
- Float - Static variable in class com.launchdarkly.sdk.LDValue.Convert
-
A
LDValue.Converter
for floats. - floatValue() - Method in class com.launchdarkly.sdk.LDValue
-
Returns this value as a
float
if it is numeric. - forName(String) - Static method in class com.launchdarkly.sdk.UserAttribute
-
Returns a UserAttribute instance for the specified attribute name.
- fromType(T) - Method in class com.launchdarkly.sdk.LDValue.Converter
-
Converts a value of the specified type to an
LDValue
. - fromValue(T, int, EvaluationReason) - Static method in class com.launchdarkly.sdk.EvaluationDetail
-
Factory method for an arbitrary value.
G
- get(int) - Method in class com.launchdarkly.sdk.LDValue
-
Returns an array element by index.
- get(String) - Method in class com.launchdarkly.sdk.LDValue
-
Returns an object property by name.
- getAttribute(UserAttribute) - Method in class com.launchdarkly.sdk.LDUser
-
Gets the value of a user attribute, if present.
- getAvatar() - Method in class com.launchdarkly.sdk.LDUser
-
Returns the value of the avatar property for the user, if set.
- getCountry() - Method in class com.launchdarkly.sdk.LDUser
-
Returns the value of the country property for the user, if set.
- getCustomAttributes() - Method in class com.launchdarkly.sdk.LDUser
-
Returns an enumeration of all custom attribute names that were set for this user.
- getEmail() - Method in class com.launchdarkly.sdk.LDUser
-
Returns the value of the email property for the user, if set.
- getErrorKind() - Method in class com.launchdarkly.sdk.EvaluationReason
-
An enumeration value indicating the general category of error, if the
kind
isEvaluationReason.Kind.PREREQUISITE_FAILED
. - getException() - Method in class com.launchdarkly.sdk.EvaluationReason
-
The exception that caused the error condition, if the
kind
isEvaluationReason.Kind.ERROR
and theerrorKind
isEvaluationReason.ErrorKind.EXCEPTION
. - getFirstName() - Method in class com.launchdarkly.sdk.LDUser
-
Returns the value of the first name property for the user, if set.
- getIp() - Method in class com.launchdarkly.sdk.LDUser
-
Returns the value of the IP property for the user, if set.
- getKey() - Method in class com.launchdarkly.sdk.LDUser
-
Returns the user's unique key.
- getKind() - Method in class com.launchdarkly.sdk.EvaluationReason
-
Returns an enum indicating the general category of the reason.
- getLastName() - Method in class com.launchdarkly.sdk.LDUser
-
Returns the value of the last name property for the user, if set.
- getName() - Method in class com.launchdarkly.sdk.LDUser
-
Returns the value of the full name property for the user, if set.
- getName() - Method in class com.launchdarkly.sdk.UserAttribute
-
Returns the case-sensitive attribute name.
- getPrerequisiteKey() - Method in class com.launchdarkly.sdk.EvaluationReason
-
The key of the prerequisite flag that did not return the desired variation, if the
kind
isEvaluationReason.Kind.PREREQUISITE_FAILED
. - getPrivateAttributes() - Method in class com.launchdarkly.sdk.LDUser
-
Returns an enumeration of all attributes that were marked private for this user.
- getReason() - Method in class com.launchdarkly.sdk.EvaluationDetail
-
An object describing the main factor that influenced the flag evaluation value.
- getRuleId() - Method in class com.launchdarkly.sdk.EvaluationReason
-
The unique identifier of the rule that was matched, if the
kind
isEvaluationReason.Kind.RULE_MATCH
. - getRuleIndex() - Method in class com.launchdarkly.sdk.EvaluationReason
-
The index of the rule that was matched (0 for the first rule in the feature flag), if the
kind
isEvaluationReason.Kind.RULE_MATCH
. - getSecondary() - Method in class com.launchdarkly.sdk.LDUser
-
Returns the value of the secondary key property for the user, if set.
- getType() - Method in class com.launchdarkly.sdk.LDValue
-
Gets the JSON type for this value.
- getValue() - Method in class com.launchdarkly.sdk.EvaluationDetail
-
The result of the flag evaluation.
- getVariationIndex() - Method in class com.launchdarkly.sdk.EvaluationDetail
-
The index of the returned value within the flag's list of variations, e.g.
H
- hashCode() - Method in class com.launchdarkly.sdk.EvaluationDetail
- hashCode() - Method in class com.launchdarkly.sdk.EvaluationReason
- hashCode() - Method in class com.launchdarkly.sdk.LDUser
- hashCode() - Method in class com.launchdarkly.sdk.LDValue
- hashCode() - Method in class com.launchdarkly.sdk.UserAttribute
I
- Integer - Static variable in class com.launchdarkly.sdk.LDValue.Convert
-
A
LDValue.Converter
for integers. - intValue() - Method in class com.launchdarkly.sdk.LDValue
-
Returns this value as an
int
if it is numeric. - ip(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Sets the IP for a user.
- IP - Static variable in class com.launchdarkly.sdk.UserAttribute
-
Represents the IP address attribute.
- isAnonymous() - Method in class com.launchdarkly.sdk.LDUser
-
Returns true if this user was marked anonymous.
- isAttributePrivate(UserAttribute) - Method in class com.launchdarkly.sdk.LDUser
-
Tests whether an attribute has been marked private for this user.
- isBuiltIn() - Method in class com.launchdarkly.sdk.UserAttribute
-
Returns true for a built-in attribute or false for a custom attribute.
- isDefaultValue() - Method in class com.launchdarkly.sdk.EvaluationDetail
-
Returns true if the flag evaluation returned the default value, rather than one of the flag's variations.
- isInExperiment() - Method in class com.launchdarkly.sdk.EvaluationReason
-
Whether the evaluation was part of an experiment.
- isInt() - Method in class com.launchdarkly.sdk.LDValue
-
Tests whether this value is a number that is also an integer.
- isNull() - Method in class com.launchdarkly.sdk.LDValue
-
Tests whether this value is a null.
- isNumber() - Method in class com.launchdarkly.sdk.LDValue
-
Tests whether this value is a number (not a numeric string).
- isString() - Method in class com.launchdarkly.sdk.LDValue
-
Tests whether this value is a string.
J
- JsonSerializable - Interface in com.launchdarkly.sdk.json
-
Marker interface for SDK classes that have a custom JSON serialization.
- JsonSerialization - Class in com.launchdarkly.sdk.json
-
Helper methods for JSON serialization of SDK classes.
K
- key(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Changes the user's key.
- KEY - Static variable in class com.launchdarkly.sdk.UserAttribute
-
Represents the user key attribute.
- keys() - Method in class com.launchdarkly.sdk.LDValue
-
Enumerates the property names in an object.
L
- LAST_NAME - Static variable in class com.launchdarkly.sdk.UserAttribute
-
Represents the last name attribute.
- lastName(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Sets the user's last name.
- LDGson - Class in com.launchdarkly.sdk.json
-
A helper class for interoperability with application code that uses Gson.
- LDJackson - Class in com.launchdarkly.sdk.json
-
A helper class for interoperability with application code that uses Jackson.
- LDUser - Class in com.launchdarkly.sdk
-
A collection of attributes that can affect flag evaluation, usually corresponding to a user of your application.
- LDUser(LDUser.Builder) - Constructor for class com.launchdarkly.sdk.LDUser
- LDUser(String) - Constructor for class com.launchdarkly.sdk.LDUser
-
Create a user with the given key
- LDUser.Builder - Class in com.launchdarkly.sdk
- LDValue - Class in com.launchdarkly.sdk
-
An immutable instance of any data type that is allowed in JSON.
- LDValue() - Constructor for class com.launchdarkly.sdk.LDValue
- LDValue.Convert - Class in com.launchdarkly.sdk
-
Predefined instances of
LDValue.Converter
for commonly used types. - LDValue.Converter<T> - Class in com.launchdarkly.sdk
-
Defines a conversion between
LDValue
and some other type. - LDValueType - Enum in com.launchdarkly.sdk
-
Describes the type of an
LDValue
. - Long - Static variable in class com.launchdarkly.sdk.LDValue.Convert
-
A
LDValue.Converter
for long integers. - longValue() - Method in class com.launchdarkly.sdk.LDValue
-
Returns this value as a
long
if it is numeric.
M
- MALFORMED_FLAG - com.launchdarkly.sdk.EvaluationReason.ErrorKind
-
Indicates that there was an internal inconsistency in the flag data, e.g.
- module() - Static method in class com.launchdarkly.sdk.json.LDJackson
-
Returns a Jackson
Module
that defines the correct serialization and deserialization behavior for all LaunchDarkly SDK objects that implementJsonSerializable
.
N
- name(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Sets the user's full name.
- NAME - Static variable in class com.launchdarkly.sdk.UserAttribute
-
Represents the full name attribute.
- NO_VARIATION - Static variable in class com.launchdarkly.sdk.EvaluationDetail
-
If
EvaluationDetail.getVariationIndex()
is equal to this constant, it means no variation was chosen (evaluation failed and returned a default value). - normalize(LDValue) - Static method in class com.launchdarkly.sdk.LDValue
-
Returns the same value if non-null, or
LDValue.ofNull()
if null. - NULL - com.launchdarkly.sdk.LDValueType
-
The value is null.
- NUMBER - com.launchdarkly.sdk.LDValueType
-
The value is numeric.
O
- OBJECT - com.launchdarkly.sdk.LDValueType
-
The value is an object (map).
- ObjectBuilder - Class in com.launchdarkly.sdk
-
A builder created by
LDValue.buildObject()
. - ObjectBuilder() - Constructor for class com.launchdarkly.sdk.ObjectBuilder
- objectFrom(Map<String, T>) - Method in class com.launchdarkly.sdk.LDValue.Converter
-
Initializes an
LDValue
as an object, from a map containing this type. - of(boolean) - Static method in class com.launchdarkly.sdk.LDValue
-
Returns an instance for a boolean value.
- of(double) - Static method in class com.launchdarkly.sdk.LDValue
-
Returns an instance for a numeric value.
- of(float) - Static method in class com.launchdarkly.sdk.LDValue
-
Returns an instance for a numeric value.
- of(int) - Static method in class com.launchdarkly.sdk.LDValue
-
Returns an instance for a numeric value.
- of(long) - Static method in class com.launchdarkly.sdk.LDValue
-
Returns an instance for a numeric value.
- of(String) - Static method in class com.launchdarkly.sdk.LDValue
-
Returns an instance for a string value (or a null).
- off() - Static method in class com.launchdarkly.sdk.EvaluationReason
-
Returns an instance whose
kind
isEvaluationReason.Kind.OFF
. - OFF - com.launchdarkly.sdk.EvaluationReason.Kind
-
Indicates that the flag was off and therefore returned its configured off value.
- ofNull() - Static method in class com.launchdarkly.sdk.LDValue
-
Returns an instance for a null value.
P
- parse(String) - Static method in class com.launchdarkly.sdk.LDValue
-
Parses an LDValue from a JSON representation.
- PREREQUISITE_FAILED - com.launchdarkly.sdk.EvaluationReason.Kind
-
Indicates that the flag was considered off because it had at least one prerequisite flag that either was off or did not return the desired variation.
- prerequisiteFailed(String) - Static method in class com.launchdarkly.sdk.EvaluationReason
-
Returns an instance whose
kind
isEvaluationReason.Kind.PREREQUISITE_FAILED
. - privateAvatar(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Sets the user's avatar, and ensures that the avatar attribute will not be sent back to LaunchDarkly.
- privateCountry(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Set the country for a user, and ensures that the country attribute will not be sent back to LaunchDarkly.
- privateCustom(String, boolean) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Add a boolean-valued custom attribute that will not be sent back to LaunchDarkly.
- privateCustom(String, double) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Add a double-precision numeric custom attribute that will not be sent back to LaunchDarkly.
- privateCustom(String, int) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Add an int-valued custom attribute that will not be sent back to LaunchDarkly.
- privateCustom(String, LDValue) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Add a custom attribute of any JSON type, that will not be sent back to LaunchDarkly.
- privateCustom(String, String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Add a
String
-valued custom attribute that will not be sent back to LaunchDarkly. - privateEmail(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Sets the user's e-mail address, and ensures that the e-mail address attribute will not be sent back to LaunchDarkly.
- privateFirstName(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Sets the user's first name, and ensures that the first name attribute will not be sent back to LaunchDarkly.
- privateIp(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Sets the IP for a user, and ensures that the IP attribute is not sent back to LaunchDarkly.
- privateLastName(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Sets the user's last name, and ensures that the last name attribute will not be sent back to LaunchDarkly.
- privateName(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Sets the user's full name, and ensures that the name attribute will not be sent back to LaunchDarkly.
- privateSecondary(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Sets the secondary key for a user, and ensures that the secondary key attribute is not sent back to LaunchDarkly.
- put(String, boolean) - Method in class com.launchdarkly.sdk.ObjectBuilder
-
Sets a key-value pair in the builder, overwriting any previous value for that key.
- put(String, double) - Method in class com.launchdarkly.sdk.ObjectBuilder
-
Sets a key-value pair in the builder, overwriting any previous value for that key.
- put(String, float) - Method in class com.launchdarkly.sdk.ObjectBuilder
-
Sets a key-value pair in the builder, overwriting any previous value for that key.
- put(String, int) - Method in class com.launchdarkly.sdk.ObjectBuilder
-
Sets a key-value pair in the builder, overwriting any previous value for that key.
- put(String, long) - Method in class com.launchdarkly.sdk.ObjectBuilder
-
Sets a key-value pair in the builder, overwriting any previous value for that key.
- put(String, LDValue) - Method in class com.launchdarkly.sdk.ObjectBuilder
-
Sets a key-value pair in the builder, overwriting any previous value for that key.
- put(String, String) - Method in class com.launchdarkly.sdk.ObjectBuilder
-
Sets a key-value pair in the builder, overwriting any previous value for that key.
R
- RULE_MATCH - com.launchdarkly.sdk.EvaluationReason.Kind
-
Indicates that the user matched one of the flag's rules.
- ruleMatch(int, String) - Static method in class com.launchdarkly.sdk.EvaluationReason
-
Returns an instance whose
kind
isEvaluationReason.Kind.RULE_MATCH
. - ruleMatch(int, String, boolean) - Static method in class com.launchdarkly.sdk.EvaluationReason
-
Returns an instance whose
kind
isEvaluationReason.Kind.RULE_MATCH
and where the inExperiment parameter represents whether the evaluation was part of an experiment.
S
- secondary(String) - Method in class com.launchdarkly.sdk.LDUser.Builder
-
Sets the secondary key for a user.
- SECONDARY_KEY - Static variable in class com.launchdarkly.sdk.UserAttribute
-
Represents the secondary key attribute.
- SerializationException - Exception in com.launchdarkly.sdk.json
-
General exception class for all errors in serializing or deserializing JSON.
- SerializationException(Throwable) - Constructor for exception com.launchdarkly.sdk.json.SerializationException
-
Creates an instance.
- serialize(T) - Static method in class com.launchdarkly.sdk.json.JsonSerialization
-
Converts an object to its JSON representation.
- size() - Method in class com.launchdarkly.sdk.LDValue
-
Returns the number of elements in an array or object.
- String - Static variable in class com.launchdarkly.sdk.LDValue.Convert
-
A
LDValue.Converter
for strings. - STRING - com.launchdarkly.sdk.LDValueType
-
The value is a string.
- stringValue() - Method in class com.launchdarkly.sdk.LDValue
-
Returns this value as a
String
if it is a string.
T
- TARGET_MATCH - com.launchdarkly.sdk.EvaluationReason.Kind
-
Indicates that the user key was specifically targeted for this flag.
- targetMatch() - Static method in class com.launchdarkly.sdk.EvaluationReason
-
Returns an instance whose
kind
isEvaluationReason.Kind.TARGET_MATCH
. - toJsonString() - Method in class com.launchdarkly.sdk.LDValue
-
Converts this value to its JSON serialization.
- toString() - Method in class com.launchdarkly.sdk.EvaluationDetail
-
Returns a simple string representation of this instance.
- toString() - Method in class com.launchdarkly.sdk.EvaluationReason
-
Returns a simple string representation of the reason.
- toString() - Method in class com.launchdarkly.sdk.LDUser
- toString() - Method in class com.launchdarkly.sdk.LDValue
-
Returns a string representation of this value.
- toString() - Method in class com.launchdarkly.sdk.UserAttribute
- toType(LDValue) - Method in class com.launchdarkly.sdk.LDValue.Converter
-
Converts an
LDValue
to a value of the specified type. - typeAdapters() - Static method in class com.launchdarkly.sdk.json.LDGson
-
Returns a Gson
TypeAdapterFactory
that defines the correct serialization and deserialization behavior for all LaunchDarkly SDK objects that implementJsonSerializable
.
U
- USER_NOT_SPECIFIED - com.launchdarkly.sdk.EvaluationReason.ErrorKind
-
Indicates that the caller passed
null
for the user parameter, or the user lacked a key. - UserAttribute - Class in com.launchdarkly.sdk
-
Represents a built-in or custom attribute name supported by
LDUser
.
V
- valueMapToJsonElementMap(Map<T, LDValue>) - Static method in class com.launchdarkly.sdk.json.LDGson
-
Convenience method for converting a map of
LDValue
values to a map of GsonJsonElement
s. - valueOf(String) - Static method in enum com.launchdarkly.sdk.EvaluationReason.ErrorKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.EvaluationReason.Kind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.sdk.LDValueType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.launchdarkly.sdk.EvaluationReason.ErrorKind
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.launchdarkly.sdk.EvaluationReason.Kind
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class com.launchdarkly.sdk.LDValue
-
Enumerates the values in an array or object.
- values() - Static method in enum com.launchdarkly.sdk.LDValueType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- valuesAs(LDValue.Converter<T>) - Method in class com.launchdarkly.sdk.LDValue
-
Enumerates the values in an array or object, converting them to a specific type.
- valueToJsonElement(LDValue) - Static method in class com.launchdarkly.sdk.json.LDGson
-
Returns a Gson
JsonElement
that is equivalent to the specifiedLDValue
.
W
- WRONG_TYPE - com.launchdarkly.sdk.EvaluationReason.ErrorKind
-
Indicates that the result value was not of the requested type, e.g.
All Classes All Packages