public class FakeHealthCheck extends AbstractHealthCheck
HealthCheck
allows the operator
to simulate a health check failure, for example to test:
hide.system.error.details
" flag.CAUSE_KEY, CHECK_ID_KEY, DISMISSIBLE, EVENT_ID_KEY, HELP_URL_KEY, INTERACTIVE_JOHNSON, JOHNSON_UI_VERSION, TEMPLATE_CONTEXT
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
public List<HealthCheckResult> perform(LifecyclePhase lifecyclePhase)
HealthCheck
HealthCheckResult
public boolean isApplicableFor(LifecyclePhase phase)
HealthCheck
Copyright © 2002-2022 Atlassian. All Rights Reserved.