Package io.sentry
Class ExternalOptions
java.lang.Object
io.sentry.ExternalOptions
Externally bindable properties set on
SentryOptions
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addBundleId
(@NotNull String bundleId) void
addContextTag
(@NotNull String contextTag) void
addIgnoredExceptionForType
(@NotNull Class<? extends Throwable> exceptionType) void
addInAppExclude
(@NotNull String exclude) void
addInAppInclude
(@NotNull String include) void
addTracePropagationTarget
(@NotNull String tracePropagationTarget) void
addTracingOrigin
(@NotNull String tracingOrigin) Deprecated.static @NotNull ExternalOptions
from
(@NotNull PropertiesProvider propertiesProvider, @NotNull ILogger logger) getCron()
@Nullable Boolean
getDebug()
@Nullable String
getDist()
@Nullable String
getDsn()
@Nullable Boolean
@Nullable Boolean
@Nullable Boolean
@Nullable String
@Nullable Long
@Nullable Boolean
@Nullable Double
@Nullable String
getProxy()
@Nullable String
@Nullable Boolean
@Nullable String
getTags()
@Nullable Double
Deprecated.@Nullable Boolean
@Nullable Boolean
@Nullable Boolean
@Nullable Boolean
void
setCron
(SentryOptions.Cron cron) void
void
void
void
setEnableBackpressureHandling
(@Nullable Boolean enableBackpressureHandling) void
setEnabled
(@Nullable Boolean enabled) void
setEnableDeduplication
(@Nullable Boolean enableDeduplication) void
setEnablePrettySerializationOutput
(@Nullable Boolean enablePrettySerializationOutput) void
setEnableTracing
(@Nullable Boolean enableTracing) void
setEnableUncaughtExceptionHandler
(@Nullable Boolean enableUncaughtExceptionHandler) void
setEnvironment
(@Nullable String environment) void
setIdleTimeout
(@Nullable Long idleTimeout) void
setIgnoredCheckIns
(@Nullable List<String> ignoredCheckIns) void
setMaxRequestBodySize
(SentryOptions.RequestSize maxRequestBodySize) void
setPrintUncaughtStackTrace
(@Nullable Boolean printUncaughtStackTrace) void
setProfilesSampleRate
(@Nullable Double profilesSampleRate) void
setProguardUuid
(@Nullable String proguardUuid) void
setProxy
(SentryOptions.Proxy proxy) void
setRelease
(@Nullable String release) void
setSendClientReports
(@Nullable Boolean sendClientReports) void
setSendModules
(@Nullable Boolean sendModules) void
setServerName
(@Nullable String serverName) void
void
setTracesSampleRate
(@Nullable Double tracesSampleRate)
-
Constructor Details
-
ExternalOptions
public ExternalOptions()
-
-
Method Details
-
from
@NotNull public static @NotNull ExternalOptions from(@NotNull @NotNull PropertiesProvider propertiesProvider, @NotNull @NotNull ILogger logger) -
getDsn
-
setDsn
-
getEnvironment
-
setEnvironment
-
getRelease
-
setRelease
-
getDist
-
setDist
-
getServerName
-
setServerName
-
getEnableUncaughtExceptionHandler
-
setEnableUncaughtExceptionHandler
public void setEnableUncaughtExceptionHandler(@Nullable @Nullable Boolean enableUncaughtExceptionHandler) -
getTracingOrigins
Deprecated. -
getTracePropagationTargets
-
getDebug
-
setDebug
-
getEnableDeduplication
-
setEnableDeduplication
-
getEnableTracing
-
setEnableTracing
-
getTracesSampleRate
-
setTracesSampleRate
-
getProfilesSampleRate
-
setProfilesSampleRate
-
getMaxRequestBodySize
-
setMaxRequestBodySize
-
getTags
-
getProxy
-
setProxy
-
getInAppExcludes
-
getInAppIncludes
-
getContextTags
-
getProguardUuid
-
setProguardUuid
-
getIgnoredExceptionsForType
-
addInAppInclude
-
addInAppExclude
-
addTracingOrigin
Deprecated. -
addTracePropagationTarget
-
addContextTag
-
addIgnoredExceptionForType
-
setTag
-
getPrintUncaughtStackTrace
-
setPrintUncaughtStackTrace
-
getIdleTimeout
-
setIdleTimeout
-
getSendClientReports
-
setSendClientReports
-
getBundleIds
-
addBundleId
-
isEnabled
-
setEnabled
-
isEnablePrettySerializationOutput
-
setEnablePrettySerializationOutput
public void setEnablePrettySerializationOutput(@Nullable @Nullable Boolean enablePrettySerializationOutput) -
isSendModules
-
setSendModules
-
setIgnoredCheckIns
-
getIgnoredCheckIns
-
setEnableBackpressureHandling
@Experimental public void setEnableBackpressureHandling(@Nullable @Nullable Boolean enableBackpressureHandling) -
isEnableBackpressureHandling
-
getCron
-
setCron
-