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

Commit

Permalink
add javadoc note about reasons in events
Browse files Browse the repository at this point in the history
  • Loading branch information
eli-darkly committed Jul 20, 2018
1 parent 64fe12e commit ebfb18a
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions src/main/java/com/launchdarkly/client/LDClientInterface.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ public interface LDClientInterface extends Closeable {

/**
* Calculates the value of a feature flag for a given user, and returns an object that describes the
* way the value was determined.
* way the value was determined. The {@code reason} property in the result will also be included in
* analytics events, if you are capturing detailed event data for this flag.
* @param featureKey the unique key for the feature flag
* @param user the end user requesting the flag
* @param defaultValue the default value of the flag
Expand All @@ -112,7 +113,8 @@ public interface LDClientInterface extends Closeable {

/**
* Calculates the value of a feature flag for a given user, and returns an object that describes the
* way the value was determined.
* way the value was determined. The {@code reason} property in the result will also be included in
* analytics events, if you are capturing detailed event data for this flag.
* @param featureKey the unique key for the feature flag
* @param user the end user requesting the flag
* @param defaultValue the default value of the flag
Expand All @@ -123,7 +125,8 @@ public interface LDClientInterface extends Closeable {

/**
* Calculates the value of a feature flag for a given user, and returns an object that describes the
* way the value was determined.
* way the value was determined. The {@code reason} property in the result will also be included in
* analytics events, if you are capturing detailed event data for this flag.
* @param featureKey the unique key for the feature flag
* @param user the end user requesting the flag
* @param defaultValue the default value of the flag
Expand All @@ -134,7 +137,8 @@ public interface LDClientInterface extends Closeable {

/**
* Calculates the value of a feature flag for a given user, and returns an object that describes the
* way the value was determined.
* way the value was determined. The {@code reason} property in the result will also be included in
* analytics events, if you are capturing detailed event data for this flag.
* @param featureKey the unique key for the feature flag
* @param user the end user requesting the flag
* @param defaultValue the default value of the flag
Expand All @@ -145,7 +149,8 @@ public interface LDClientInterface extends Closeable {

/**
* Calculates the value of a feature flag for a given user, and returns an object that describes the
* way the value was determined.
* way the value was determined. The {@code reason} property in the result will also be included in
* analytics events, if you are capturing detailed event data for this flag.
* @param featureKey the unique key for the feature flag
* @param user the end user requesting the flag
* @param defaultValue the default value of the flag
Expand Down

0 comments on commit ebfb18a

Please sign in to comment.