Class SimulationHealthIndicator
java.lang.Object
energy.eddie.regionconnector.simulation.health.SimulationHealthIndicator
- All Implemented Interfaces:
org.springframework.boot.actuate.health.HealthContributor,org.springframework.boot.actuate.health.HealthIndicator
@Component
public class SimulationHealthIndicator
extends Object
implements org.springframework.boot.actuate.health.HealthIndicator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.actuate.health.Healthhealth()With no additional dependencies we can always assume the simulation region connector to be healthy when enabled.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
-
SimulationHealthIndicator
public SimulationHealthIndicator()
-
-
Method Details
-
health
public org.springframework.boot.actuate.health.Health health()With no additional dependencies we can always assume the simulation region connector to be healthy when enabled.- Specified by:
healthin interfaceorg.springframework.boot.actuate.health.HealthIndicator- Returns:
- up if enabled
-