Package io.sentry.clientreport
Class ClientReport
java.lang.Object
io.sentry.clientreport.ClientReport
- All Implemented Interfaces:
JsonSerializable,JsonUnknown
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final class -
Constructor Summary
ConstructorsConstructorDescriptionClientReport(@NotNull Date timestamp, @NotNull List<DiscardedEvent> discardedEvents) -
Method Summary
Modifier and TypeMethodDescription@NotNull List<DiscardedEvent>@NotNull Datevoidserialize(@NotNull ObjectWriter writer, @NotNull ILogger logger) voidsetUnknown(@Nullable Map<String, Object> unknown)
-
Constructor Details
-
ClientReport
public ClientReport(@NotNull @NotNull Date timestamp, @NotNull @NotNull List<DiscardedEvent> discardedEvents)
-
-
Method Details
-
getTimestamp
-
getDiscardedEvents
-
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
-