Class HealthEntry

java.lang.Object
io.micronaut.discovery.consul.client.v1.HealthEntry

public class HealthEntry extends Object
Models a Consul Health Entry. See https://www.consul.io/api/health.html.
Since:
1.0
Author:
graemerocher
  • Constructor Details

    • HealthEntry

      public HealthEntry()
  • Method Details

    • getNode

      public NodeEntry getNode()
      Returns:
      The node for this health entry
    • getService

      public ServiceEntry getService()
      Returns:
      The service for the health entry
    • getChecks

      public List<Check> getChecks()
      Returns:
      The checks
    • setNode

      protected void setNode(NodeEntry node)
      Parameters:
      node - The node
    • setService

      protected void setService(ServiceEntry service)
      Parameters:
      service - The service