Class CheckEntry

java.lang.Object
io.micronaut.discovery.consul.client.v1.CheckEntry
All Implemented Interfaces:
Check

public class CheckEntry extends Object implements Check
Since:
1.0
Author:
graemerocher
  • Constructor Details

    • CheckEntry

      protected CheckEntry(@Nullable @Nullable String id)
      Parameters:
      id - The id
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface Check
      Returns:
      The name of the check
    • setName

      protected void setName(String name)
      Parameters:
      name - The name of the check
    • getID

      public String getID()
      Specified by:
      getID in interface Check
      Returns:
      A unique ID for the check
    • getNotes

      public String getNotes()
      Specified by:
      getNotes in interface Check
      Returns:
      Human readable notes
    • setNotes

      protected void setNotes(String notes)
      Parameters:
      notes - The human readable notes
    • getStatus

      public String getStatus()
      Returns:
      The status
    • setStatus

      protected void setStatus(String status)
      Parameters:
      status - The status
    • status

      public Check.Status status()
      Specified by:
      status in interface Check
      Returns:
      The status an an enum