Package com.launchdarkly.sdk.server
Class FlagsStateOption
- java.lang.Object
-
- com.launchdarkly.sdk.server.FlagsStateOption
-
public final class FlagsStateOption extends java.lang.ObjectOptional parameters that can be passed toLDClientInterface.allFlagsState(com.launchdarkly.sdk.LDContext, FlagsStateOption...).- Since:
- 4.3.0
-
-
Field Summary
Fields Modifier and Type Field Description static FlagsStateOptionCLIENT_SIDE_ONLYSpecifies that only flags marked for use with the client-side SDK should be included in the state object.static FlagsStateOptionDETAILS_ONLY_FOR_TRACKED_FLAGSSpecifies that any flag metadata that is normally only used for event generation - such as flag versions and evaluation reasons - should be omitted for any flag that does not have event tracking or debugging turned on.static FlagsStateOptionWITH_REASONSSpecifies thatEvaluationReasondata should be captured in the state object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()
-
-
-
Field Detail
-
CLIENT_SIDE_ONLY
public static final FlagsStateOption CLIENT_SIDE_ONLY
Specifies that only flags marked for use with the client-side SDK should be included in the state object. By default, all flags are included.
-
WITH_REASONS
public static final FlagsStateOption WITH_REASONS
Specifies thatEvaluationReasondata should be captured in the state object. By default, it is not.
-
DETAILS_ONLY_FOR_TRACKED_FLAGS
public static final FlagsStateOption DETAILS_ONLY_FOR_TRACKED_FLAGS
Specifies that any flag metadata that is normally only used for event generation - such as flag versions and evaluation reasons - should be omitted for any flag that does not have event tracking or debugging turned on. This reduces the size of the JSON data if you are passing the flag state to the front end.- Since:
- 4.4.0
-
-