Package io.sentry
Class CheckIn
java.lang.Object
io.sentry.CheckIn
- All Implemented Interfaces:
JsonSerializable
,JsonUnknown
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull SentryId
@NotNull MonitorContexts
@Nullable Double
@Nullable String
@Nullable MonitorConfig
@NotNull String
@Nullable String
@NotNull String
void
serialize
(@NotNull ObjectWriter writer, @NotNull ILogger logger) void
setDuration
(@Nullable Double duration) void
setEnvironment
(@Nullable String environment) void
setMonitorConfig
(@Nullable MonitorConfig monitorConfig) void
setMonitorSlug
(@NotNull String monitorSlug) void
setRelease
(@Nullable String release) void
setStatus
(@NotNull CheckInStatus status) void
void
setUnknown
(@Nullable Map<String, Object> unknown)
-
Constructor Details
-
CheckIn
-
CheckIn
public CheckIn(@Nullable @Nullable SentryId id, @NotNull @NotNull String monitorSlug, @NotNull @NotNull CheckInStatus status) -
CheckIn
-
-
Method Details
-
getCheckInId
-
getMonitorSlug
-
setMonitorSlug
-
getStatus
-
setStatus
-
setStatus
-
getDuration
-
setDuration
-
getRelease
-
setRelease
-
getEnvironment
-
setEnvironment
-
getMonitorConfig
-
setMonitorConfig
-
getContexts
-
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
-