Package com.launchdarkly.sdk.server
Class FlagsStateOption
java.lang.Object
com.launchdarkly.sdk.server.FlagsStateOption
public final class FlagsStateOption
extends java.lang.Object
Optional parameters that can be passed to
LDClientInterface.allFlagsState(com.launchdarkly.sdk.LDUser, FlagsStateOption...)
.- Since:
- 4.3.0
-
Field Summary
Fields Modifier and Type Field Description static FlagsStateOption
CLIENT_SIDE_ONLY
Specifies that only flags marked for use with the client-side SDK should be included in the state object.static 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.static FlagsStateOption
WITH_REASONS
Specifies thatEvaluationReason
data should be captured in the state object. -
Method Summary
Modifier and Type Method Description java.lang.String
toString()
-
Field Details
-
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
Specifies thatEvaluationReason
data should be captured in the state object. By default, it is not. -
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
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-