Class DefaultHealthCheckRunner
java.lang.Object
com.atlassian.confluence.impl.health.DefaultHealthCheckRunner
- All Implemented Interfaces:
HealthCheckRunner
- Since:
- 6.6.0
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultHealthCheckRunner(HealthCheckExecutor healthCheckExecutor, HealthCheckRegistry healthCheckRegistry, com.atlassian.johnson.JohnsonEventContainer johnsonEventContainer, Supplier<HealthCheckAnalyticsSender> healthCheckAnalyticsSenderSupplier, UpgradeEventRegistry upgradeEventRegistry, com.atlassian.config.ApplicationConfiguration applicationConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether all possible health checks have been run, across allLifecyclePhases.voidrunHealthChecks(LifecyclePhase lifecyclePhase) Runs theHealthChecks in the givenLifecyclePhase.
-
Constructor Details
-
DefaultHealthCheckRunner
public DefaultHealthCheckRunner(HealthCheckExecutor healthCheckExecutor, HealthCheckRegistry healthCheckRegistry, com.atlassian.johnson.JohnsonEventContainer johnsonEventContainer, Supplier<HealthCheckAnalyticsSender> healthCheckAnalyticsSenderSupplier, UpgradeEventRegistry upgradeEventRegistry, com.atlassian.config.ApplicationConfiguration applicationConfiguration)
-
-
Method Details
-
isComplete
public boolean isComplete()Description copied from interface:HealthCheckRunnerIndicates whether all possible health checks have been run, across allLifecyclePhases.- Specified by:
isCompletein interfaceHealthCheckRunner- Returns:
falseif this is not the last phase or the current phase has some checks left to run- See Also:
-
runHealthChecks
Description copied from interface:HealthCheckRunnerRuns theHealthChecks in the givenLifecyclePhase.- Specified by:
runHealthChecksin interfaceHealthCheckRunner- Parameters:
lifecyclePhase- the lifecycle phase
-