Package org.nekosoft.pdffer.actuator
Class PdfferHealthIndicator
java.lang.Object
org.nekosoft.pdffer.actuator.PdfferHealthIndicator
- All Implemented Interfaces:
org.springframework.boot.actuate.health.HealthContributor
,org.springframework.boot.actuate.health.HealthIndicator
@Component
@ConditionalOnClass(name="org.springframework.boot.actuate.health.HealthIndicator")
@Profile("pddfer-actuator")
public class PdfferHealthIndicator
extends Object
implements org.springframework.boot.actuate.health.HealthIndicator
A Spring Actuator Health Indicator to assess the health of the PDFfer system.
-
Constructor Summary
ConstructorDescriptionPdfferHealthIndicator(org.springframework.context.ApplicationContext context)
Allows Spring to create the endpoint instance and pass theApplicationContext
instance into it. -
Method Summary
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
-
PdfferHealthIndicator
public PdfferHealthIndicator(org.springframework.context.ApplicationContext context)Allows Spring to create the endpoint instance and pass theApplicationContext
instance into it.- Parameters:
context
- the application context to be injected by the framework
-
-
Method Details
-
health
public org.springframework.boot.actuate.health.Health health()- Specified by:
health
in interfaceorg.springframework.boot.actuate.health.HealthIndicator
-