Package com.launchdarkly.sdk
Enum Class EvaluationReason.BigSegmentsStatus
java.lang.Object
java.lang.Enum<EvaluationReason.BigSegmentsStatus>
com.launchdarkly.sdk.EvaluationReason.BigSegmentsStatus
- All Implemented Interfaces:
Serializable
,Comparable<EvaluationReason.BigSegmentsStatus>
,Constable
- Enclosing class:
- EvaluationReason
public static enum EvaluationReason.BigSegmentsStatus
extends Enum<EvaluationReason.BigSegmentsStatus>
Enumerated type defining the possible values of
EvaluationReason.getBigSegmentsStatus()
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIndicates that the Big Segment query involved in the flag evaluation was successful, and that the segment state is considered up to date.Indicates that Big Segments could not be queried for the flag evaluation because the SDK configuration did not include a Big Segment store.Indicates that the Big Segment query involved in the flag evaluation was successful, but that the segment state may not be up to date.Indicates that the Big Segment query involved in the flag evaluation failed, for instance due to a database error. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static EvaluationReason.BigSegmentsStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HEALTHY
Indicates that the Big Segment query involved in the flag evaluation was successful, and that the segment state is considered up to date. -
STALE
Indicates that the Big Segment query involved in the flag evaluation was successful, but that the segment state may not be up to date. -
NOT_CONFIGURED
Indicates that Big Segments could not be queried for the flag evaluation because the SDK configuration did not include a Big Segment store. -
STORE_ERROR
Indicates that the Big Segment query involved in the flag evaluation failed, for instance due to a database error.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-