Class HealthCheckResponseImpl


  • public class HealthCheckResponseImpl
    extends org.eclipse.microprofile.health.HealthCheckResponse
    Base Implementation of HealthCheckResponse.
    Author:
    Andrew Pielage
    • Constructor Detail

      • HealthCheckResponseImpl

        public HealthCheckResponseImpl​(String name,
                                       org.eclipse.microprofile.health.HealthCheckResponse.Status status,
                                       Optional<Map<String,​Object>> data)
    • Method Detail

      • getName

        public String getName()
        Overrides:
        getName in class org.eclipse.microprofile.health.HealthCheckResponse
      • getStatus

        public org.eclipse.microprofile.health.HealthCheckResponse.Status getStatus()
        Overrides:
        getStatus in class org.eclipse.microprofile.health.HealthCheckResponse
      • getData

        public Optional<Map<String,​Object>> getData()
        Overrides:
        getData in class org.eclipse.microprofile.health.HealthCheckResponse