Package com.arassec.igor.starter.health
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 -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.actuate.health.Healthhealth()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, waitMethods 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:
healthin interfaceorg.springframework.boot.actuate.health.HealthIndicator- Returns:
- The
Healthwith regard to job executions.
-