Package io.sentry

Class ExternalOptions

java.lang.Object
io.sentry.ExternalOptions

public final class ExternalOptions extends Object
Externally bindable properties set on SentryOptions.
  • Constructor Details

    • ExternalOptions

      public ExternalOptions()
  • Method Details

    • from

      @NotNull public static @NotNull ExternalOptions from(@NotNull @NotNull PropertiesProvider propertiesProvider, @NotNull @NotNull ILogger logger)
    • getDsn

      @Nullable public @Nullable String getDsn()
    • setDsn

      public void setDsn(@Nullable @Nullable String dsn)
    • getEnvironment

      @Nullable public @Nullable String getEnvironment()
    • setEnvironment

      public void setEnvironment(@Nullable @Nullable String environment)
    • getRelease

      @Nullable public @Nullable String getRelease()
    • setRelease

      public void setRelease(@Nullable @Nullable String release)
    • getDist

      @Nullable public @Nullable String getDist()
    • setDist

      public void setDist(@Nullable @Nullable String dist)
    • getServerName

      @Nullable public @Nullable String getServerName()
    • setServerName

      public void setServerName(@Nullable @Nullable String serverName)
    • getEnableUncaughtExceptionHandler

      @Nullable public @Nullable Boolean getEnableUncaughtExceptionHandler()
    • setEnableUncaughtExceptionHandler

      public void setEnableUncaughtExceptionHandler(@Nullable @Nullable Boolean enableUncaughtExceptionHandler)
    • getTracingOrigins

      @Deprecated @Nullable public @Nullable List<String> getTracingOrigins()
      Deprecated.
    • getTracePropagationTargets

      @Nullable public @Nullable List<String> getTracePropagationTargets()
    • getDebug

      @Nullable public @Nullable Boolean getDebug()
    • setDebug

      public void setDebug(@Nullable @Nullable Boolean debug)
    • getEnableDeduplication

      @Nullable public @Nullable Boolean getEnableDeduplication()
    • setEnableDeduplication

      public void setEnableDeduplication(@Nullable @Nullable Boolean enableDeduplication)
    • getEnableTracing

      @Nullable public @Nullable Boolean getEnableTracing()
    • setEnableTracing

      public void setEnableTracing(@Nullable @Nullable Boolean enableTracing)
    • getTracesSampleRate

      @Nullable public @Nullable Double getTracesSampleRate()
    • setTracesSampleRate

      public void setTracesSampleRate(@Nullable @Nullable Double tracesSampleRate)
    • getProfilesSampleRate

      @Nullable public @Nullable Double getProfilesSampleRate()
    • setProfilesSampleRate

      public void setProfilesSampleRate(@Nullable @Nullable Double profilesSampleRate)
    • getMaxRequestBodySize

      @Nullable public SentryOptions.RequestSize getMaxRequestBodySize()
    • setMaxRequestBodySize

      public void setMaxRequestBodySize(@Nullable SentryOptions.RequestSize maxRequestBodySize)
    • getTags

      @NotNull public @NotNull Map<String,String> getTags()
    • getProxy

      @Nullable public SentryOptions.Proxy getProxy()
    • setProxy

      public void setProxy(@Nullable SentryOptions.Proxy proxy)
    • getInAppExcludes

      @NotNull public @NotNull List<String> getInAppExcludes()
    • getInAppIncludes

      @NotNull public @NotNull List<String> getInAppIncludes()
    • getContextTags

      @NotNull public @NotNull List<String> getContextTags()
    • getProguardUuid

      @Nullable public @Nullable String getProguardUuid()
    • setProguardUuid

      public void setProguardUuid(@Nullable @Nullable String proguardUuid)
    • getIgnoredExceptionsForType

      @NotNull public @NotNull Set<Class<? extends Throwable>> getIgnoredExceptionsForType()
    • addInAppInclude

      public void addInAppInclude(@NotNull @NotNull String include)
    • addInAppExclude

      public void addInAppExclude(@NotNull @NotNull String exclude)
    • addTracingOrigin

      @Deprecated public void addTracingOrigin(@NotNull @NotNull String tracingOrigin)
      Deprecated.
    • addTracePropagationTarget

      public void addTracePropagationTarget(@NotNull @NotNull String tracePropagationTarget)
    • addContextTag

      public void addContextTag(@NotNull @NotNull String contextTag)
    • addIgnoredExceptionForType

      public void addIgnoredExceptionForType(@NotNull @NotNull Class<? extends Throwable> exceptionType)
    • setTag

      public void setTag(@NotNull @NotNull String key, @NotNull @NotNull String value)
    • getPrintUncaughtStackTrace

      @Nullable public @Nullable Boolean getPrintUncaughtStackTrace()
    • setPrintUncaughtStackTrace

      public void setPrintUncaughtStackTrace(@Nullable @Nullable Boolean printUncaughtStackTrace)
    • getIdleTimeout

      @Nullable public @Nullable Long getIdleTimeout()
    • setIdleTimeout

      public void setIdleTimeout(@Nullable @Nullable Long idleTimeout)
    • getSendClientReports

      @Nullable public @Nullable Boolean getSendClientReports()
    • setSendClientReports

      public void setSendClientReports(@Nullable @Nullable Boolean sendClientReports)
    • getBundleIds

      @NotNull public @NotNull Set<String> getBundleIds()
    • addBundleId

      public void addBundleId(@NotNull @NotNull String bundleId)
    • isEnabled

      @Nullable public @Nullable Boolean isEnabled()
    • setEnabled

      public void setEnabled(@Nullable @Nullable Boolean enabled)
    • isEnablePrettySerializationOutput

      @Nullable public @Nullable Boolean isEnablePrettySerializationOutput()
    • setEnablePrettySerializationOutput

      public void setEnablePrettySerializationOutput(@Nullable @Nullable Boolean enablePrettySerializationOutput)
    • isSendModules

      @Nullable public @Nullable Boolean isSendModules()
    • setSendModules

      public void setSendModules(@Nullable @Nullable Boolean sendModules)
    • setIgnoredCheckIns

      @Experimental public void setIgnoredCheckIns(@Nullable @Nullable List<String> ignoredCheckIns)
    • getIgnoredCheckIns

      @Experimental @Nullable public @Nullable List<String> getIgnoredCheckIns()
    • setEnableBackpressureHandling

      @Experimental public void setEnableBackpressureHandling(@Nullable @Nullable Boolean enableBackpressureHandling)
    • isEnableBackpressureHandling

      @Experimental @Nullable public @Nullable Boolean isEnableBackpressureHandling()
    • getCron

      @Experimental @Nullable public SentryOptions.Cron getCron()
    • setCron

      @Experimental public void setCron(@Nullable SentryOptions.Cron cron)