Class GreeterCheck

java.lang.Object
org.gcube.service.helloworld.plugin.greeter.GreeterCheck
All Implemented Interfaces:
org.gcube.common.health.api.HealthCheck

public class GreeterCheck extends Object implements org.gcube.common.health.api.HealthCheck
The health check of the plugin: its class comes from the jar of the plugin, so SmartGears shows it in the row of the plugin in the health of the service, and in the checks of the service.
Author:
Luca Frosini (ISTI-CNR)
  • Constructor Details

    • GreeterCheck

      public GreeterCheck()
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface org.gcube.common.health.api.HealthCheck
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface org.gcube.common.health.api.HealthCheck
    • check

      public org.gcube.common.health.api.response.HealthCheckResponse check()
      Specified by:
      check in interface org.gcube.common.health.api.HealthCheck