Skip to content

Commit 7744777

Browse files
committed
Execute apiDump
Signed-off-by: Bence Hornák <[email protected]>
1 parent a10509b commit 7744777

File tree

2 files changed

+761
-35
lines changed

2 files changed

+761
-35
lines changed

kotlin-sdk/api/android.api renamed to kotlin-sdk/api/android/kotlin-sdk.api

Lines changed: 31 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,6 @@ public abstract interface class dev/openfeature/sdk/BaseEvaluation {
66
public abstract fun getVariant ()Ljava/lang/String;
77
}
88

9-
public final class dev/openfeature/sdk/BuildConfig {
10-
public static final field BUILD_TYPE Ljava/lang/String;
11-
public static final field DEBUG Z
12-
public static final field LIBRARY_PACKAGE_NAME Ljava/lang/String;
13-
public fun <init> ()V
14-
}
15-
169
public final class dev/openfeature/sdk/Builder {
1710
public fun <init> ()V
1811
public final fun build ()Ldev/openfeature/sdk/EvaluationMetadata;
@@ -165,6 +158,7 @@ public final class dev/openfeature/sdk/FlagValueType : java/lang/Enum {
165158
public static final field INTEGER Ldev/openfeature/sdk/FlagValueType;
166159
public static final field OBJECT Ldev/openfeature/sdk/FlagValueType;
167160
public static final field STRING Ldev/openfeature/sdk/FlagValueType;
161+
public static fun getEntries ()Lkotlin/enums/EnumEntries;
168162
public static fun valueOf (Ljava/lang/String;)Ldev/openfeature/sdk/FlagValueType;
169163
public static fun values ()[Ldev/openfeature/sdk/FlagValueType;
170164
}
@@ -400,6 +394,7 @@ public final class dev/openfeature/sdk/Reason : java/lang/Enum {
400394
public static final field STATIC Ldev/openfeature/sdk/Reason;
401395
public static final field TARGETING_MATCH Ldev/openfeature/sdk/Reason;
402396
public static final field UNKNOWN Ldev/openfeature/sdk/Reason;
397+
public static fun getEntries ()Lkotlin/enums/EnumEntries;
403398
public static fun valueOf (Ljava/lang/String;)Ldev/openfeature/sdk/Reason;
404399
public static fun values ()[Ldev/openfeature/sdk/Reason;
405400
}
@@ -460,8 +455,8 @@ public final class dev/openfeature/sdk/TrackingEventDetails : dev/openfeature/sd
460455

461456
public abstract interface class dev/openfeature/sdk/Value {
462457
public abstract fun asBoolean ()Ljava/lang/Boolean;
463-
public abstract fun asDate ()Ljava/util/Date;
464458
public abstract fun asDouble ()Ljava/lang/Double;
459+
public abstract fun asInstant ()Lkotlin/time/Instant;
465460
public abstract fun asInteger ()Ljava/lang/Integer;
466461
public abstract fun asList ()Ljava/util/List;
467462
public abstract fun asString ()Ljava/lang/String;
@@ -472,8 +467,8 @@ public abstract interface class dev/openfeature/sdk/Value {
472467
public final class dev/openfeature/sdk/Value$Boolean : dev/openfeature/sdk/Value {
473468
public fun <init> (Z)V
474469
public fun asBoolean ()Ljava/lang/Boolean;
475-
public fun asDate ()Ljava/util/Date;
476470
public fun asDouble ()Ljava/lang/Double;
471+
public fun asInstant ()Lkotlin/time/Instant;
477472
public fun asInteger ()Ljava/lang/Integer;
478473
public fun asList ()Ljava/util/List;
479474
public fun asString ()Ljava/lang/String;
@@ -488,29 +483,10 @@ public final class dev/openfeature/sdk/Value$Boolean : dev/openfeature/sdk/Value
488483
public fun toString ()Ljava/lang/String;
489484
}
490485

491-
public final class dev/openfeature/sdk/Value$Date : dev/openfeature/sdk/Value {
492-
public fun <init> (Ljava/util/Date;)V
493-
public fun asBoolean ()Ljava/lang/Boolean;
494-
public fun asDate ()Ljava/util/Date;
495-
public fun asDouble ()Ljava/lang/Double;
496-
public fun asInteger ()Ljava/lang/Integer;
497-
public fun asList ()Ljava/util/List;
498-
public fun asString ()Ljava/lang/String;
499-
public fun asStructure ()Ljava/util/Map;
500-
public final fun component1 ()Ljava/util/Date;
501-
public final fun copy (Ljava/util/Date;)Ldev/openfeature/sdk/Value$Date;
502-
public static synthetic fun copy$default (Ldev/openfeature/sdk/Value$Date;Ljava/util/Date;ILjava/lang/Object;)Ldev/openfeature/sdk/Value$Date;
503-
public fun equals (Ljava/lang/Object;)Z
504-
public final fun getDate ()Ljava/util/Date;
505-
public fun hashCode ()I
506-
public fun isNull ()Z
507-
public fun toString ()Ljava/lang/String;
508-
}
509-
510486
public final class dev/openfeature/sdk/Value$DefaultImpls {
511487
public static fun asBoolean (Ldev/openfeature/sdk/Value;)Ljava/lang/Boolean;
512-
public static fun asDate (Ldev/openfeature/sdk/Value;)Ljava/util/Date;
513488
public static fun asDouble (Ldev/openfeature/sdk/Value;)Ljava/lang/Double;
489+
public static fun asInstant (Ldev/openfeature/sdk/Value;)Lkotlin/time/Instant;
514490
public static fun asInteger (Ldev/openfeature/sdk/Value;)Ljava/lang/Integer;
515491
public static fun asList (Ldev/openfeature/sdk/Value;)Ljava/util/List;
516492
public static fun asString (Ldev/openfeature/sdk/Value;)Ljava/lang/String;
@@ -521,8 +497,8 @@ public final class dev/openfeature/sdk/Value$DefaultImpls {
521497
public final class dev/openfeature/sdk/Value$Double : dev/openfeature/sdk/Value {
522498
public fun <init> (D)V
523499
public fun asBoolean ()Ljava/lang/Boolean;
524-
public fun asDate ()Ljava/util/Date;
525500
public fun asDouble ()Ljava/lang/Double;
501+
public fun asInstant ()Lkotlin/time/Instant;
526502
public fun asInteger ()Ljava/lang/Integer;
527503
public fun asList ()Ljava/util/List;
528504
public fun asString ()Ljava/lang/String;
@@ -537,11 +513,30 @@ public final class dev/openfeature/sdk/Value$Double : dev/openfeature/sdk/Value
537513
public fun toString ()Ljava/lang/String;
538514
}
539515

516+
public final class dev/openfeature/sdk/Value$Instant : dev/openfeature/sdk/Value {
517+
public fun <init> (Lkotlin/time/Instant;)V
518+
public fun asBoolean ()Ljava/lang/Boolean;
519+
public fun asDouble ()Ljava/lang/Double;
520+
public fun asInstant ()Lkotlin/time/Instant;
521+
public fun asInteger ()Ljava/lang/Integer;
522+
public fun asList ()Ljava/util/List;
523+
public fun asString ()Ljava/lang/String;
524+
public fun asStructure ()Ljava/util/Map;
525+
public final fun component1 ()Lkotlin/time/Instant;
526+
public final fun copy (Lkotlin/time/Instant;)Ldev/openfeature/sdk/Value$Instant;
527+
public static synthetic fun copy$default (Ldev/openfeature/sdk/Value$Instant;Lkotlin/time/Instant;ILjava/lang/Object;)Ldev/openfeature/sdk/Value$Instant;
528+
public fun equals (Ljava/lang/Object;)Z
529+
public final fun getInstant ()Lkotlin/time/Instant;
530+
public fun hashCode ()I
531+
public fun isNull ()Z
532+
public fun toString ()Ljava/lang/String;
533+
}
534+
540535
public final class dev/openfeature/sdk/Value$Integer : dev/openfeature/sdk/Value {
541536
public fun <init> (I)V
542537
public fun asBoolean ()Ljava/lang/Boolean;
543-
public fun asDate ()Ljava/util/Date;
544538
public fun asDouble ()Ljava/lang/Double;
539+
public fun asInstant ()Lkotlin/time/Instant;
545540
public fun asInteger ()Ljava/lang/Integer;
546541
public fun asList ()Ljava/util/List;
547542
public fun asString ()Ljava/lang/String;
@@ -559,8 +554,8 @@ public final class dev/openfeature/sdk/Value$Integer : dev/openfeature/sdk/Value
559554
public final class dev/openfeature/sdk/Value$List : dev/openfeature/sdk/Value {
560555
public fun <init> (Ljava/util/List;)V
561556
public fun asBoolean ()Ljava/lang/Boolean;
562-
public fun asDate ()Ljava/util/Date;
563557
public fun asDouble ()Ljava/lang/Double;
558+
public fun asInstant ()Lkotlin/time/Instant;
564559
public fun asInteger ()Ljava/lang/Integer;
565560
public fun asList ()Ljava/util/List;
566561
public fun asString ()Ljava/lang/String;
@@ -578,8 +573,8 @@ public final class dev/openfeature/sdk/Value$List : dev/openfeature/sdk/Value {
578573
public final class dev/openfeature/sdk/Value$Null : dev/openfeature/sdk/Value {
579574
public static final field INSTANCE Ldev/openfeature/sdk/Value$Null;
580575
public fun asBoolean ()Ljava/lang/Boolean;
581-
public fun asDate ()Ljava/util/Date;
582576
public fun asDouble ()Ljava/lang/Double;
577+
public fun asInstant ()Lkotlin/time/Instant;
583578
public fun asInteger ()Ljava/lang/Integer;
584579
public fun asList ()Ljava/util/List;
585580
public fun asString ()Ljava/lang/String;
@@ -592,8 +587,8 @@ public final class dev/openfeature/sdk/Value$Null : dev/openfeature/sdk/Value {
592587
public final class dev/openfeature/sdk/Value$String : dev/openfeature/sdk/Value {
593588
public fun <init> (Ljava/lang/String;)V
594589
public fun asBoolean ()Ljava/lang/Boolean;
595-
public fun asDate ()Ljava/util/Date;
596590
public fun asDouble ()Ljava/lang/Double;
591+
public fun asInstant ()Lkotlin/time/Instant;
597592
public fun asInteger ()Ljava/lang/Integer;
598593
public fun asList ()Ljava/util/List;
599594
public fun asString ()Ljava/lang/String;
@@ -611,8 +606,8 @@ public final class dev/openfeature/sdk/Value$String : dev/openfeature/sdk/Value
611606
public final class dev/openfeature/sdk/Value$Structure : dev/openfeature/sdk/Value {
612607
public fun <init> (Ljava/util/Map;)V
613608
public fun asBoolean ()Ljava/lang/Boolean;
614-
public fun asDate ()Ljava/util/Date;
615609
public fun asDouble ()Ljava/lang/Double;
610+
public fun asInstant ()Lkotlin/time/Instant;
616611
public fun asInteger ()Ljava/lang/Integer;
617612
public fun asList ()Ljava/util/List;
618613
public fun asString ()Ljava/lang/String;
@@ -666,6 +661,7 @@ public final class dev/openfeature/sdk/exceptions/ErrorCode : java/lang/Enum {
666661
public static final field PROVIDER_NOT_READY Ldev/openfeature/sdk/exceptions/ErrorCode;
667662
public static final field TARGETING_KEY_MISSING Ldev/openfeature/sdk/exceptions/ErrorCode;
668663
public static final field TYPE_MISMATCH Ldev/openfeature/sdk/exceptions/ErrorCode;
664+
public static fun getEntries ()Lkotlin/enums/EnumEntries;
669665
public static fun valueOf (Ljava/lang/String;)Ldev/openfeature/sdk/exceptions/ErrorCode;
670666
public static fun values ()[Ldev/openfeature/sdk/exceptions/ErrorCode;
671667
}

0 commit comments

Comments
 (0)