public interface HealthCheck
perform(LifecyclePhase)
method.Modifier and Type | Field and Description |
---|---|
static String |
CAUSE_KEY
Checks which send analytics can provide a short cause which is analytics safe, i.e.
|
static String |
CHECK_ID_KEY
Checks that wish to have analytics events raised (e.g.
|
static String |
EVENT_ID_KEY
The unique ID of an individual Johnson event arising from a
HealthCheck . |
static String |
HELP_URL_KEY
Checks that wish to provide a help link to public-facing documentation should
set this attribute to the relevant URL on the Johnson event that they return.
|
static String |
INTERACTIVE_JOHNSON
The value of the
JOHNSON_UI_VERSION attribute that indicates
events are to be displayed in the "Better Johnson" UI added by CPU-59. |
static String |
JOHNSON_UI_VERSION
The Johnson event attribute that if present specifies what version of the
Johnson UI is meant to display the events returned by this executor.
|
Modifier and Type | Method and Description |
---|---|
default String |
getId()
Returns the unique ID of this check.
|
Collection<HealthCheck> |
getPrerequisites()
Returns the checks that must have a non-
EventLevel.FATAL
result before this check can be run. |
List<HealthCheckResult> |
perform(LifecyclePhase phase)
Performs health check for given phase
|
static final String CHECK_ID_KEY
static final String EVENT_ID_KEY
HealthCheck
.static final String HELP_URL_KEY
static final String CAUSE_KEY
static final String JOHNSON_UI_VERSION
Event.getAttribute(Object)
,
Constant Field Valuesstatic final String INTERACTIVE_JOHNSON
JOHNSON_UI_VERSION
attribute that indicates
events are to be displayed in the "Better Johnson" UI added by CPU-59.Event.getAttribute(Object)
,
Constant Field Valuesdefault String getId()
@Nonnull Collection<HealthCheck> getPrerequisites()
EventLevel.FATAL
result before this check can be run.@Nonnull List<HealthCheckResult> perform(LifecyclePhase phase)
HealthCheckResult
Copyright © 2002-2017 Atlassian. All Rights Reserved.