Class JobsHealthIndicator

java.lang.Object
com.arassec.igor.starter.health.JobsHealthIndicator
All Implemented Interfaces:
org.springframework.boot.actuate.health.HealthContributor, org.springframework.boot.actuate.health.HealthIndicator

@Component public class JobsHealthIndicator extends Object implements org.springframework.boot.actuate.health.HealthIndicator
Spring-Boot health indicator for job health.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.boot.actuate.health.Health
    Examines job executions and creates a health status based on them.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.boot.actuate.health.HealthIndicator

    getHealth
  • Constructor Details

    • JobsHealthIndicator

      public JobsHealthIndicator()
  • Method Details

    • health

      public org.springframework.boot.actuate.health.Health health()
      Examines job executions and creates a health status based on them.
      Specified by:
      health in interface org.springframework.boot.actuate.health.HealthIndicator
      Returns:
      The Health with regard to job executions.