@@ -8,6 +8,7 @@ public interface Tracking {
8
8
* Performs tracking of a particular action or application state.
9
9
*
10
10
* @param trackingEventName Event name to track
11
+ * @throws IllegalArgumentException if {@code trackingEventName} is null
11
12
*/
12
13
void track (String trackingEventName );
13
14
@@ -16,6 +17,7 @@ public interface Tracking {
16
17
*
17
18
* @param trackingEventName Event name to track
18
19
* @param context Evaluation context used in flag evaluation
20
+ * @throws IllegalArgumentException if {@code trackingEventName} is null
19
21
*/
20
22
void track (String trackingEventName , EvaluationContext context );
21
23
@@ -24,6 +26,7 @@ public interface Tracking {
24
26
*
25
27
* @param trackingEventName Event name to track
26
28
* @param details Data pertinent to a particular tracking event
29
+ * @throws IllegalArgumentException if {@code trackingEventName} is null
27
30
*/
28
31
void track (String trackingEventName , TrackingEventDetails details );
29
32
@@ -33,6 +36,7 @@ public interface Tracking {
33
36
* @param trackingEventName Event name to track
34
37
* @param context Evaluation context used in flag evaluation
35
38
* @param details Data pertinent to a particular tracking event
39
+ * @throws IllegalArgumentException if {@code trackingEventName} is null
36
40
*/
37
41
void track (String trackingEventName , EvaluationContext context , TrackingEventDetails details );
38
42
}
0 commit comments