public class FakeHealthCheck extends AbstractHealthCheck
HealthCheck
allows the operator
to simulate a health check failure, for example to test:
hide.system.error.details
" flag.Constructor and Description |
---|
FakeHealthCheck() |
Modifier and Type | Method and Description |
---|---|
boolean |
isApplicableFor(LifecyclePhase phase)
Checks if current HealthCheck is applicable for given phase
|
List<HealthCheckResult> |
perform(LifecyclePhase lifecyclePhase)
Performs health check for given phase
|
getPrerequisites
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getId
@Nonnull public List<HealthCheckResult> perform(LifecyclePhase lifecyclePhase)
HealthCheck
HealthCheckResult
public boolean isApplicableFor(LifecyclePhase phase)
HealthCheck
Copyright © 2003–2017 Atlassian. All rights reserved.