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 TypeMethodDescriptionboolean
Indicates whether all possible health checks have been run, across allLifecyclePhase
s.void
runHealthChecks
(LifecyclePhase lifecyclePhase) Runs theHealthCheck
s 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:HealthCheckRunner
Indicates whether all possible health checks have been run, across allLifecyclePhase
s.- Specified by:
isComplete
in interfaceHealthCheckRunner
- Returns:
false
if this is not the last phase or the current phase has some checks left to run- See Also:
-
runHealthChecks
Description copied from interface:HealthCheckRunner
Runs theHealthCheck
s in the givenLifecyclePhase
.- Specified by:
runHealthChecks
in interfaceHealthCheckRunner
- Parameters:
lifecyclePhase
- the lifecycle phase
-