Package io.sentry
Class ExternalOptions
- java.lang.Object
-
- io.sentry.ExternalOptions
-
public final class ExternalOptions extends java.lang.ObjectExternally bindable properties set onSentryOptions.
-
-
Constructor Summary
Constructors Constructor Description ExternalOptions()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddContextTag(@NotNull java.lang.String contextTag)voidaddIgnoredExceptionForType(@NotNull java.lang.Class<? extends java.lang.Throwable> exceptionType)voidaddInAppExclude(@NotNull java.lang.String exclude)voidaddInAppInclude(@NotNull java.lang.String include)voidaddTracingOrigin(@NotNull java.lang.String tracingOrigin)static @NotNull ExternalOptionsfrom(@NotNull PropertiesProvider propertiesProvider, @NotNull ILogger logger)@NotNull java.util.List<java.lang.String>getContextTags()@Nullable java.lang.BooleangetDebug()@Nullable java.lang.StringgetDist()@Nullable java.lang.StringgetDsn()@Nullable java.lang.BooleangetEnableDeduplication()@Nullable java.lang.BooleangetEnableUncaughtExceptionHandler()@Nullable java.lang.StringgetEnvironment()@Nullable java.lang.LonggetIdleTimeout()@NotNull java.util.Set<java.lang.Class<? extends java.lang.Throwable>>getIgnoredExceptionsForType()@NotNull java.util.List<java.lang.String>getInAppExcludes()@NotNull java.util.List<java.lang.String>getInAppIncludes()SentryOptions.RequestSizegetMaxRequestBodySize()@Nullable java.lang.BooleangetPrintUncaughtStackTrace()@Nullable java.lang.StringgetProguardUuid()SentryOptions.ProxygetProxy()@Nullable java.lang.StringgetRelease()@Nullable java.lang.BooleangetSendClientReports()@Nullable java.lang.StringgetServerName()@NotNull java.util.Map<java.lang.String,java.lang.String>getTags()@Nullable java.lang.DoublegetTracesSampleRate()@NotNull java.util.List<java.lang.String>getTracingOrigins()voidsetDebug(@Nullable java.lang.Boolean debug)voidsetDist(@Nullable java.lang.String dist)voidsetDsn(@Nullable java.lang.String dsn)voidsetEnableDeduplication(@Nullable java.lang.Boolean enableDeduplication)voidsetEnableUncaughtExceptionHandler(@Nullable java.lang.Boolean enableUncaughtExceptionHandler)voidsetEnvironment(@Nullable java.lang.String environment)voidsetIdleTimeout(@Nullable java.lang.Long idleTimeout)voidsetMaxRequestBodySize(SentryOptions.RequestSize maxRequestBodySize)voidsetPrintUncaughtStackTrace(@Nullable java.lang.Boolean printUncaughtStackTrace)voidsetProguardUuid(@Nullable java.lang.String proguardUuid)voidsetProxy(SentryOptions.Proxy proxy)voidsetRelease(@Nullable java.lang.String release)voidsetSendClientReports(@Nullable java.lang.Boolean sendClientReports)voidsetServerName(@Nullable java.lang.String serverName)voidsetTag(@NotNull java.lang.String key, @NotNull java.lang.String value)voidsetTracesSampleRate(@Nullable java.lang.Double tracesSampleRate)
-
-
-
Method Detail
-
from
@NotNull public static @NotNull ExternalOptions from(@NotNull @NotNull PropertiesProvider propertiesProvider, @NotNull @NotNull ILogger logger)
-
getDsn
@Nullable public @Nullable java.lang.String getDsn()
-
setDsn
public void setDsn(@Nullable @Nullable java.lang.String dsn)
-
getEnvironment
@Nullable public @Nullable java.lang.String getEnvironment()
-
setEnvironment
public void setEnvironment(@Nullable @Nullable java.lang.String environment)
-
getRelease
@Nullable public @Nullable java.lang.String getRelease()
-
setRelease
public void setRelease(@Nullable @Nullable java.lang.String release)
-
getDist
@Nullable public @Nullable java.lang.String getDist()
-
setDist
public void setDist(@Nullable @Nullable java.lang.String dist)
-
getServerName
@Nullable public @Nullable java.lang.String getServerName()
-
setServerName
public void setServerName(@Nullable @Nullable java.lang.String serverName)
-
getEnableUncaughtExceptionHandler
@Nullable public @Nullable java.lang.Boolean getEnableUncaughtExceptionHandler()
-
setEnableUncaughtExceptionHandler
public void setEnableUncaughtExceptionHandler(@Nullable @Nullable java.lang.Boolean enableUncaughtExceptionHandler)
-
getTracingOrigins
@NotNull public @NotNull java.util.List<java.lang.String> getTracingOrigins()
-
getDebug
@Nullable public @Nullable java.lang.Boolean getDebug()
-
setDebug
public void setDebug(@Nullable @Nullable java.lang.Boolean debug)
-
getEnableDeduplication
@Nullable public @Nullable java.lang.Boolean getEnableDeduplication()
-
setEnableDeduplication
public void setEnableDeduplication(@Nullable @Nullable java.lang.Boolean enableDeduplication)
-
getTracesSampleRate
@Nullable public @Nullable java.lang.Double getTracesSampleRate()
-
setTracesSampleRate
public void setTracesSampleRate(@Nullable @Nullable java.lang.Double tracesSampleRate)
-
getMaxRequestBodySize
@Nullable public SentryOptions.RequestSize getMaxRequestBodySize()
-
setMaxRequestBodySize
public void setMaxRequestBodySize(@Nullable SentryOptions.RequestSize maxRequestBodySize)
-
getTags
@NotNull public @NotNull java.util.Map<java.lang.String,java.lang.String> getTags()
-
getProxy
@Nullable public SentryOptions.Proxy getProxy()
-
setProxy
public void setProxy(@Nullable SentryOptions.Proxy proxy)
-
getInAppExcludes
@NotNull public @NotNull java.util.List<java.lang.String> getInAppExcludes()
-
getInAppIncludes
@NotNull public @NotNull java.util.List<java.lang.String> getInAppIncludes()
-
getContextTags
@NotNull public @NotNull java.util.List<java.lang.String> getContextTags()
-
getProguardUuid
@Nullable public @Nullable java.lang.String getProguardUuid()
-
setProguardUuid
public void setProguardUuid(@Nullable @Nullable java.lang.String proguardUuid)
-
getIgnoredExceptionsForType
@NotNull public @NotNull java.util.Set<java.lang.Class<? extends java.lang.Throwable>> getIgnoredExceptionsForType()
-
addInAppInclude
public void addInAppInclude(@NotNull @NotNull java.lang.String include)
-
addInAppExclude
public void addInAppExclude(@NotNull @NotNull java.lang.String exclude)
-
addTracingOrigin
public void addTracingOrigin(@NotNull @NotNull java.lang.String tracingOrigin)
-
addContextTag
public void addContextTag(@NotNull @NotNull java.lang.String contextTag)
-
addIgnoredExceptionForType
public void addIgnoredExceptionForType(@NotNull @NotNull java.lang.Class<? extends java.lang.Throwable> exceptionType)
-
setTag
public void setTag(@NotNull @NotNull java.lang.String key, @NotNull @NotNull java.lang.String value)
-
getPrintUncaughtStackTrace
@Nullable public @Nullable java.lang.Boolean getPrintUncaughtStackTrace()
-
setPrintUncaughtStackTrace
public void setPrintUncaughtStackTrace(@Nullable @Nullable java.lang.Boolean printUncaughtStackTrace)
-
getIdleTimeout
@Nullable public @Nullable java.lang.Long getIdleTimeout()
-
setIdleTimeout
public void setIdleTimeout(@Nullable @Nullable java.lang.Long idleTimeout)
-
getSendClientReports
@Nullable public @Nullable java.lang.Boolean getSendClientReports()
-
setSendClientReports
public void setSendClientReports(@Nullable @Nullable java.lang.Boolean sendClientReports)
-
-