Package io.sentry.cache
Class PersistingOptionsObserver
java.lang.Object
io.sentry.cache.PersistingOptionsObserver
- All Implemented Interfaces:
IOptionsObserver
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> T
read
(@NotNull SentryOptions options, @NotNull String fileName, @NotNull Class<T> clazz) static <T,
R> T read
(@NotNull SentryOptions options, @NotNull String fileName, @NotNull Class<T> clazz, @Nullable JsonDeserializer<R> elementDeserializer) void
void
setEnvironment
(@Nullable String environment) void
setProguardUuid
(@Nullable String proguardUuid) void
setRelease
(@Nullable String release) void
setReplayErrorSampleRate
(@Nullable Double replayErrorSampleRate) void
setSdkVersion
(@Nullable SdkVersion sdkVersion) void
-
Field Details
-
OPTIONS_CACHE
- See Also:
-
RELEASE_FILENAME
- See Also:
-
PROGUARD_UUID_FILENAME
- See Also:
-
SDK_VERSION_FILENAME
- See Also:
-
ENVIRONMENT_FILENAME
- See Also:
-
DIST_FILENAME
- See Also:
-
TAGS_FILENAME
- See Also:
-
REPLAY_ERROR_SAMPLE_RATE_FILENAME
- See Also:
-
-
Constructor Details
-
PersistingOptionsObserver
-
-
Method Details
-
setRelease
- Specified by:
setRelease
in interfaceIOptionsObserver
-
setProguardUuid
- Specified by:
setProguardUuid
in interfaceIOptionsObserver
-
setSdkVersion
- Specified by:
setSdkVersion
in interfaceIOptionsObserver
-
setDist
- Specified by:
setDist
in interfaceIOptionsObserver
-
setEnvironment
- Specified by:
setEnvironment
in interfaceIOptionsObserver
-
setTags
- Specified by:
setTags
in interfaceIOptionsObserver
-
setReplayErrorSampleRate
- Specified by:
setReplayErrorSampleRate
in interfaceIOptionsObserver
-
read
@Nullable public static <T> T read(@NotNull @NotNull SentryOptions options, @NotNull @NotNull String fileName, @NotNull @NotNull Class<T> clazz) -
read
@Nullable public static <T,R> T read(@NotNull @NotNull SentryOptions options, @NotNull @NotNull String fileName, @NotNull @NotNull Class<T> clazz, @Nullable @Nullable JsonDeserializer<R> elementDeserializer)
-