Package com.launchdarkly.sdk
Enum EvaluationReason.BigSegmentsStatus
- java.lang.Object
-
- java.lang.Enum<EvaluationReason.BigSegmentsStatus>
-
- com.launchdarkly.sdk.EvaluationReason.BigSegmentsStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<EvaluationReason.BigSegmentsStatus>
- Enclosing class:
- EvaluationReason
public static enum EvaluationReason.BigSegmentsStatus extends java.lang.Enum<EvaluationReason.BigSegmentsStatus>
Enumerated type defining the possible values ofEvaluationReason.getBigSegmentsStatus()
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HEALTHY
Indicates that the Big Segment query involved in the flag evaluation was successful, and that the segment state is considered 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.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.STORE_ERROR
Indicates that the Big Segment query involved in the flag evaluation failed, for instance due to a database error.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EvaluationReason.BigSegmentsStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EvaluationReason.BigSegmentsStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HEALTHY
public static final EvaluationReason.BigSegmentsStatus 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
public static final EvaluationReason.BigSegmentsStatus 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
public static final EvaluationReason.BigSegmentsStatus 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
public static final EvaluationReason.BigSegmentsStatus STORE_ERROR
Indicates that the Big Segment query involved in the flag evaluation failed, for instance due to a database error.
-
-
Method Detail
-
values
public static EvaluationReason.BigSegmentsStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EvaluationReason.BigSegmentsStatus c : EvaluationReason.BigSegmentsStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EvaluationReason.BigSegmentsStatus valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-