@ParametersAreNonnullByDefault public abstract class HealthCheckTemplate extends AbstractHealthCheck
HealthCheck
s. Subclasses should
override one or more of the phase-specific onXxx
methods.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)
@Nonnull 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 © 2003–2017 Atlassian. All rights reserved.