Class FlagsStateOption

java.lang.Object
com.launchdarkly.sdk.server.FlagsStateOption

public final class FlagsStateOption
extends java.lang.Object
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 that EvaluationReason data should be captured in the state object.
  • Method Summary

    Modifier and Type Method Description
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • 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 that EvaluationReason data 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
  • Method Details

    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object