Package io.sentry

Class CheckIn

java.lang.Object
io.sentry.CheckIn
All Implemented Interfaces:
JsonSerializable, JsonUnknown

@Experimental public final class CheckIn extends Object implements JsonUnknown, JsonSerializable
  • Constructor Details

    • CheckIn

      public CheckIn(@NotNull @NotNull String monitorSlug, @NotNull @NotNull CheckInStatus status)
    • CheckIn

      public CheckIn(@Nullable @Nullable SentryId id, @NotNull @NotNull String monitorSlug, @NotNull @NotNull CheckInStatus status)
    • CheckIn

      @Internal public CheckIn(@Nullable @Nullable SentryId checkInId, @NotNull @NotNull String monitorSlug, @NotNull @NotNull String status)
  • Method Details

    • getCheckInId

      @NotNull public @NotNull SentryId getCheckInId()
    • getMonitorSlug

      @NotNull public @NotNull String getMonitorSlug()
    • setMonitorSlug

      public void setMonitorSlug(@NotNull @NotNull String monitorSlug)
    • getStatus

      @NotNull public @NotNull String getStatus()
    • setStatus

      public void setStatus(@NotNull @NotNull String status)
    • setStatus

      public void setStatus(@NotNull @NotNull CheckInStatus status)
    • getDuration

      @Nullable public @Nullable Double getDuration()
    • setDuration

      public void setDuration(@Nullable @Nullable Double duration)
    • getRelease

      @Nullable public @Nullable String getRelease()
    • setRelease

      public void setRelease(@Nullable @Nullable String release)
    • getEnvironment

      @Nullable public @Nullable String getEnvironment()
    • setEnvironment

      public void setEnvironment(@Nullable @Nullable String environment)
    • getMonitorConfig

      @Nullable public @Nullable MonitorConfig getMonitorConfig()
    • setMonitorConfig

      public void setMonitorConfig(@Nullable @Nullable MonitorConfig monitorConfig)
    • getContexts

      @NotNull public @NotNull MonitorContexts getContexts()
    • getUnknown

      @Nullable public @Nullable Map<String,Object> getUnknown()
      Specified by:
      getUnknown in interface JsonUnknown
    • setUnknown

      public void setUnknown(@Nullable @Nullable Map<String,Object> unknown)
      Specified by:
      setUnknown in interface JsonUnknown
    • serialize

      public void serialize(@NotNull @NotNull ObjectWriter writer, @NotNull @NotNull ILogger logger) throws IOException
      Specified by:
      serialize in interface JsonSerializable
      Throws:
      IOException