@NotThreadSafe public class DefaultHealthCheckExecutor extends Object implements HealthCheckExecutor
HealthCheckExecutor
implementation. It should have no side-effects
such as adding events to Johnson or logging health check results.Modifier and Type | Class and Description |
---|---|
protected static class |
DefaultHealthCheckExecutor.PrerequisiteNotInPhaseException |
Constructor and Description |
---|
DefaultHealthCheckExecutor() |
Modifier and Type | Method and Description |
---|---|
protected io.atlassian.fugue.Pair<Collection<Exception>,Set<HealthCheckResult>> |
applyAndCollectExceptions(Collection<HealthCheck> healthChecks,
LifecyclePhase lifecyclePhase) |
Set<HealthCheckResult> |
performHealthChecks(Collection<HealthCheck> healthChecks,
LifecyclePhase lifecyclePhase)
Executes given health checks for the given phase of the JIRA lifecycle.
|
public Set<HealthCheckResult> performHealthChecks(Collection<HealthCheck> healthChecks, LifecyclePhase lifecyclePhase)
HealthCheckExecutor
performHealthChecks
in interface HealthCheckExecutor
healthChecks
- health checks to runlifecyclePhase
- the current phase of the JIRA lifecycleprotected io.atlassian.fugue.Pair<Collection<Exception>,Set<HealthCheckResult>> applyAndCollectExceptions(Collection<HealthCheck> healthChecks, LifecyclePhase lifecyclePhase)
Copyright © 2002-2019 Atlassian. All Rights Reserved.