public class DefaultHealthCheckRunner extends Object implements HealthCheckRunner
| Constructor and Description |
|---|
DefaultHealthCheckRunner(HealthCheckExecutor healthCheckExecutor,
HealthCheckRegistry healthCheckRegistry,
com.atlassian.johnson.JohnsonEventContainer johnsonEventContainer,
com.atlassian.util.concurrent.Supplier<HealthCheckAnalyticsSender> healthCheckAnalyticsSenderSupplier,
UpgradeEventRegistry upgradeEventRegistry) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isComplete()
Indicates whether all possible health checks have been run, across all
LifecyclePhases. |
void |
runHealthChecks(LifecyclePhase lifecyclePhase)
Runs the
HealthChecks in the given LifecyclePhase. |
public DefaultHealthCheckRunner(HealthCheckExecutor healthCheckExecutor, HealthCheckRegistry healthCheckRegistry, com.atlassian.johnson.JohnsonEventContainer johnsonEventContainer, com.atlassian.util.concurrent.Supplier<HealthCheckAnalyticsSender> healthCheckAnalyticsSenderSupplier, UpgradeEventRegistry upgradeEventRegistry)
public boolean isComplete()
HealthCheckRunnerLifecyclePhases.isComplete in interface HealthCheckRunnerfalse if this is not the last phase or the current phase has some checks left to runLifecyclePhase.isLast()public void runHealthChecks(LifecyclePhase lifecyclePhase)
HealthCheckRunnerHealthChecks in the given LifecyclePhase.runHealthChecks in interface HealthCheckRunnerlifecyclePhase - the lifecycle phaseCopyright © 2003–2019 Atlassian. All rights reserved.