@ParametersAreNonnullByDefault public abstract class HealthCheckTemplate extends AbstractHealthCheck
HealthCheck
s. Subclasses should
override one or more of the phase-specific onXxx
methods.CAUSE_KEY, CHECK_ID_KEY, DISMISSIBLE, EVENT_ID_KEY, HELP_URL_KEY, INTERACTIVE_JOHNSON, JOHNSON_UI_VERSION, TEMPLATE_CONTEXT
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
|
getPrerequisites
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getId
protected HealthCheckTemplate(Iterable<HealthCheck> prerequisites)
public final List<HealthCheckResult> perform(LifecyclePhase phase)
HealthCheck
HealthCheckResult
public final boolean isApplicableFor(LifecyclePhase phase)
HealthCheck
protected abstract Set<LifecyclePhase> getApplicablePhases()
protected abstract List<HealthCheckResult> doPerform()
Copyright © 2002-2021 Atlassian. All Rights Reserved.