Package io.sentry
Class ExternalOptions
- java.lang.Object
-
- io.sentry.ExternalOptions
-
public final class ExternalOptions extends java.lang.Object
Externally 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 void
addContextTag(@NotNull java.lang.String contextTag)
void
addIgnoredExceptionForType(@NotNull java.lang.Class<? extends java.lang.Throwable> exceptionType)
void
addInAppExclude(@NotNull java.lang.String exclude)
void
addInAppInclude(@NotNull java.lang.String include)
void
addTracingOrigin(@NotNull java.lang.String tracingOrigin)
static @NotNull ExternalOptions
from(@NotNull PropertiesProvider propertiesProvider, @NotNull ILogger logger)
@NotNull java.util.List<java.lang.String>
getContextTags()
@Nullable java.lang.Boolean
getDebug()
@Nullable java.lang.String
getDist()
@Nullable java.lang.String
getDsn()
@Nullable java.lang.Boolean
getEnableDeduplication()
@Nullable java.lang.Boolean
getEnableUncaughtExceptionHandler()
@Nullable java.lang.String
getEnvironment()
@Nullable java.lang.Long
getIdleTimeout()
@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.RequestSize
getMaxRequestBodySize()
@Nullable java.lang.Boolean
getPrintUncaughtStackTrace()
@Nullable java.lang.Double
getProfilesSampleRate()
@Nullable java.lang.String
getProguardUuid()
SentryOptions.Proxy
getProxy()
@Nullable java.lang.String
getRelease()
@Nullable java.lang.Boolean
getSendClientReports()
@Nullable java.lang.String
getServerName()
@NotNull java.util.Map<java.lang.String,java.lang.String>
getTags()
@Nullable java.lang.Double
getTracesSampleRate()
@NotNull java.util.List<java.lang.String>
getTracingOrigins()
void
setDebug(@Nullable java.lang.Boolean debug)
void
setDist(@Nullable java.lang.String dist)
void
setDsn(@Nullable java.lang.String dsn)
void
setEnableDeduplication(@Nullable java.lang.Boolean enableDeduplication)
void
setEnableUncaughtExceptionHandler(@Nullable java.lang.Boolean enableUncaughtExceptionHandler)
void
setEnvironment(@Nullable java.lang.String environment)
void
setIdleTimeout(@Nullable java.lang.Long idleTimeout)
void
setMaxRequestBodySize(SentryOptions.RequestSize maxRequestBodySize)
void
setPrintUncaughtStackTrace(@Nullable java.lang.Boolean printUncaughtStackTrace)
void
setProfilesSampleRate(@Nullable java.lang.Double profilesSampleRate)
void
setProguardUuid(@Nullable java.lang.String proguardUuid)
void
setProxy(SentryOptions.Proxy proxy)
void
setRelease(@Nullable java.lang.String release)
void
setSendClientReports(@Nullable java.lang.Boolean sendClientReports)
void
setServerName(@Nullable java.lang.String serverName)
void
setTag(@NotNull java.lang.String key, @NotNull java.lang.String value)
void
setTracesSampleRate(@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)
-
getProfilesSampleRate
@Nullable public @Nullable java.lang.Double getProfilesSampleRate()
-
setProfilesSampleRate
public void setProfilesSampleRate(@Nullable @Nullable java.lang.Double profilesSampleRate)
-
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)
-
-