Class CheckEntry

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

@Deprecated(forRemoval=true, since="4.1.0") public class CheckEntry extends Object implements Check
Deprecated, for removal: This API element is subject to removal in a future version.
Use ConsulCheck instead.
Since:
1.0
Author:
graemerocher
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.micronaut.discovery.consul.client.v1.Check

    Check.Status
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    CheckEntry(@Nullable String id)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected void
    setStatus(String status)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CheckEntry

      protected CheckEntry(@Nullable @Nullable String id)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Parameters:
      id - The id
  • Method Details

    • getName

      public String getName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getName in interface Check
      Returns:
      The name of the check
    • setName

      protected void setName(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Parameters:
      name - The name of the check
    • getID

      public String getID()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getID in interface Check
      Returns:
      A unique ID for the check
    • getNotes

      public String getNotes()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getNotes in interface Check
      Returns:
      Human readable notes
    • setNotes

      protected void setNotes(String notes)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Parameters:
      notes - The human readable notes
    • getStatus

      public String getStatus()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns:
      The status
    • setStatus

      protected void setStatus(String status)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Parameters:
      status - The status
    • status

      public Check.Status status()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      status in interface Check
      Returns:
      The status an an enum