Package io.sentry.clientreport
Class ClientReport
java.lang.Object
io.sentry.clientreport.ClientReport
- All Implemented Interfaces:
JsonSerializable
,JsonUnknown
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
-
Constructor Summary
ConstructorDescriptionClientReport
(@NotNull Date timestamp, @NotNull List<DiscardedEvent> discardedEvents) -
Method Summary
Modifier and TypeMethodDescription@NotNull List<DiscardedEvent>
@NotNull Date
void
serialize
(@NotNull ObjectWriter writer, @NotNull ILogger logger) void
setUnknown
(@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:
getUnknown
in interfaceJsonUnknown
-
setUnknown
- Specified by:
setUnknown
in interfaceJsonUnknown
-
serialize
public void serialize(@NotNull @NotNull ObjectWriter writer, @NotNull @NotNull ILogger logger) throws IOException - Specified by:
serialize
in interfaceJsonSerializable
- Throws:
IOException
-