@ParametersAreNonnullByDefault public abstract class HealthCheckTemplate extends AbstractHealthCheck
HealthChecks. Subclasses should
override one or more of the phase-specific onXxx methods.CAUSE_KEY, CHECK_ID_KEY, EVENT_ID_KEY, HELP_URL_KEY, INTERACTIVE_JOHNSON, JOHNSON_UI_VERSION| Modifier | Constructor and Description |
|---|---|
protected |
HealthCheckTemplate(Iterable<HealthCheck> prerequisites) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract List<HealthCheckResult> |
doPerform() |
protected abstract Set<LifecyclePhase> |
getApplicablePhases() |
boolean |
isApplicableFor(LifecyclePhase phase)
Checks if current HealthCheck is applicable for given phase
|
List<HealthCheckResult> |
perform(LifecyclePhase phase)
Performs health check for given phase
|
getPrerequisitesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIdprotected HealthCheckTemplate(Iterable<HealthCheck> prerequisites)
public final List<HealthCheckResult> perform(LifecyclePhase phase)
HealthCheckHealthCheckResultpublic final boolean isApplicableFor(LifecyclePhase phase)
HealthCheckprotected abstract Set<LifecyclePhase> getApplicablePhases()
protected abstract List<HealthCheckResult> doPerform()
Copyright © 2002-2017 Atlassian. All Rights Reserved.