Interface HealthCheckRunner
- All Known Implementing Classes:
DefaultHealthCheckRunner,StubHealthCheckRunner
public interface HealthCheckRunner
The entry point for running
HealthChecks. Not to be confused with HealthCheckExecutor,
which is an internal component of this runner.- Since:
- 6.6.0
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether all possible health checks have been run, across allLifecyclePhases.voidrunHealthChecks(LifecyclePhase lifecyclePhase) Runs theHealthChecks in the givenLifecyclePhase.
-
Method Details
-
isComplete
boolean isComplete()Indicates whether all possible health checks have been run, across allLifecyclePhases.- Returns:
falseif this is not the last phase or the current phase has some checks left to run- See Also:
-
runHealthChecks
Runs theHealthChecks in the givenLifecyclePhase.- Parameters:
lifecyclePhase- the lifecycle phase
-