Package io.sentry.protocol
Class SentryPackage
java.lang.Object
io.sentry.protocol.SentryPackage
- All Implemented Interfaces:
JsonSerializable,JsonUnknown
An installed and loaded package as part of the Sentry SDK.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean@NotNull StringgetName()@NotNull StringinthashCode()voidserialize(@NotNull ObjectWriter writer, @NotNull ILogger logger) voidvoidsetUnknown(@Nullable Map<String, Object> unknown) voidsetVersion(@NotNull String version)
-
Constructor Details
-
SentryPackage
-
-
Method Details
-
getName
-
setName
-
getVersion
-
setVersion
-
equals
-
hashCode
public int hashCode() -
getUnknown
- Specified by:
getUnknownin interfaceJsonUnknown
-
setUnknown
- Specified by:
setUnknownin interfaceJsonUnknown
-
serialize
public void serialize(@NotNull @NotNull ObjectWriter writer, @NotNull @NotNull ILogger logger) throws IOException - Specified by:
serializein interfaceJsonSerializable- Throws:
IOException
-