Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Commit b800f23

Browse files
committed
comments
1 parent 326e8e1 commit b800f23

File tree

1 file changed

+5
-3
lines changed
  • src/main/java/com/launchdarkly/sdk/server/integrations

1 file changed

+5
-3
lines changed

src/main/java/com/launchdarkly/sdk/server/integrations/TestData.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,14 @@
4848
*
4949
* // flags can be updated at any time:
5050
* td.update(testData.flag("flag-key-2")
51-
* .variationForUser("some-user-key", true)
52-
* .fallthroughVariation(false));
51+
* .variationForUser("some-user-key", true)
52+
* .fallthroughVariation(false));
5353
* </code></pre>
5454
*
5555
* The above example uses a simple boolean flag, but more complex configurations are possible using
56-
* the methods of the {@link FlagBuilder} that is returned by {@link #flag(String)}.
56+
* the methods of the {@link FlagBuilder} that is returned by {@link #flag(String)}. {@link FlagBuilder}
57+
* supports many of the ways a flag can be configured on the LaunchDarkly dashboard, but does not
58+
* currently support 1. rule operators other than "in" and "not in", or 2. percentage rollouts.
5759
* <p>
5860
* If the same {@code TestData} instance is used to configure multiple {@code LDClient} instances,
5961
* any changes made to the data will propagate to all of the {@code LDClient}s.

0 commit comments

Comments
 (0)