@@ -285,13 +285,15 @@ public void track(@Nonnull String eventName,
285
285
286
286
//======== live variable getters ========//
287
287
288
+ @ Deprecated
288
289
public @ Nullable
289
290
String getVariableString (@ Nonnull String variableKey ,
290
291
@ Nonnull String userId ,
291
292
boolean activateExperiment ) throws UnknownLiveVariableException {
292
293
return getVariableString (variableKey , userId , Collections .<String , String >emptyMap (), activateExperiment );
293
294
}
294
295
296
+ @ Deprecated
295
297
public @ Nullable
296
298
String getVariableString (@ Nonnull String variableKey ,
297
299
@ Nonnull String userId ,
@@ -332,13 +334,15 @@ String getVariableString(@Nonnull String variableKey,
332
334
return variable .getDefaultValue ();
333
335
}
334
336
337
+ @ Deprecated
335
338
public @ Nullable
336
339
Boolean getVariableBoolean (@ Nonnull String variableKey ,
337
340
@ Nonnull String userId ,
338
341
boolean activateExperiment ) throws UnknownLiveVariableException {
339
342
return getVariableBoolean (variableKey , userId , Collections .<String , String >emptyMap (), activateExperiment );
340
343
}
341
344
345
+ @ Deprecated
342
346
public @ Nullable
343
347
Boolean getVariableBoolean (@ Nonnull String variableKey ,
344
348
@ Nonnull String userId ,
@@ -354,13 +358,15 @@ Boolean getVariableBoolean(@Nonnull String variableKey,
354
358
return null ;
355
359
}
356
360
361
+ @ Deprecated
357
362
public @ Nullable
358
363
Integer getVariableInteger (@ Nonnull String variableKey ,
359
364
@ Nonnull String userId ,
360
365
boolean activateExperiment ) throws UnknownLiveVariableException {
361
366
return getVariableInteger (variableKey , userId , Collections .<String , String >emptyMap (), activateExperiment );
362
367
}
363
368
369
+ @ Deprecated
364
370
public @ Nullable
365
371
Integer getVariableInteger (@ Nonnull String variableKey ,
366
372
@ Nonnull String userId ,
@@ -381,13 +387,15 @@ Integer getVariableInteger(@Nonnull String variableKey,
381
387
return null ;
382
388
}
383
389
390
+ @ Deprecated
384
391
public @ Nullable
385
392
Double getVariableDouble (@ Nonnull String variableKey ,
386
393
@ Nonnull String userId ,
387
394
boolean activateExperiment ) throws UnknownLiveVariableException {
388
395
return getVariableDouble (variableKey , userId , Collections .<String , String >emptyMap (), activateExperiment );
389
396
}
390
397
398
+ @ Deprecated
391
399
public @ Nullable
392
400
Double getVariableDouble (@ Nonnull String variableKey ,
393
401
@ Nonnull String userId ,
@@ -588,6 +596,7 @@ private EventType getEventTypeOrThrow(ProjectConfig projectConfig, String eventN
588
596
* @throws UnknownLiveVariableException if there are no event types in the current project config with the given
589
597
* name
590
598
*/
599
+ @ Deprecated
591
600
private LiveVariable getLiveVariableOrThrow (ProjectConfig projectConfig , String variableKey )
592
601
throws UnknownLiveVariableException {
593
602
0 commit comments