Class DeadmanCheck


public class DeadmanCheck extends Check
DeadmanCheck
  • Field Details

  • Constructor Details

    • DeadmanCheck

      public DeadmanCheck()
  • Method Details

    • getType

      public DeadmanCheck.TypeEnum getType()
      Get type
      Returns:
      type
    • timeSince

      public DeadmanCheck timeSince(String timeSince)
    • getTimeSince

      public String getTimeSince()
      String duration before deadman triggers.
      Returns:
      timeSince
    • setTimeSince

      public void setTimeSince(String timeSince)
    • staleTime

      public DeadmanCheck staleTime(String staleTime)
    • getStaleTime

      public String getStaleTime()
      String duration for time that a series is considered stale and should not trigger deadman.
      Returns:
      staleTime
    • setStaleTime

      public void setStaleTime(String staleTime)
    • reportZero

      public DeadmanCheck reportZero(Boolean reportZero)
    • getReportZero

      public Boolean getReportZero()
      If only zero values reported since time, trigger an alert
      Returns:
      reportZero
    • setReportZero

      public void setReportZero(Boolean reportZero)
    • level

      public DeadmanCheck level(CheckStatusLevel level)
    • getLevel

      public CheckStatusLevel getLevel()
      Get level
      Returns:
      level
    • setLevel

      public void setLevel(CheckStatusLevel level)
    • every

      public DeadmanCheck every(String every)
    • getEvery

      public String getEvery()
      Check repetition interval.
      Returns:
      every
    • setEvery

      public void setEvery(String every)
    • offset

      public DeadmanCheck offset(String offset)
    • getOffset

      public String getOffset()
      Duration to delay after the schedule, before executing check.
      Returns:
      offset
    • setOffset

      public void setOffset(String offset)
    • tags

      public DeadmanCheck tags(List<ThresholdCheckTags> tags)
    • addTagsItem

      public DeadmanCheck addTagsItem(ThresholdCheckTags tagsItem)
    • getTags

      public List<ThresholdCheckTags> getTags()
      List of tags to write to each status.
      Returns:
      tags
    • setTags

      public void setTags(List<ThresholdCheckTags> tags)
    • statusMessageTemplate

      public DeadmanCheck statusMessageTemplate(String statusMessageTemplate)
    • getStatusMessageTemplate

      public String getStatusMessageTemplate()
      The template used to generate and write a status message.
      Returns:
      statusMessageTemplate
    • setStatusMessageTemplate

      public void setStatusMessageTemplate(String statusMessageTemplate)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Check
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Check
    • toString

      public String toString()
      Overrides:
      toString in class Check