Class SharedHomeHealthCheck
java.lang.Object
com.atlassian.jira.health.AbstractHealthCheck
com.atlassian.jira.health.HealthCheckTemplate
com.atlassian.jira.cluster.health.SharedHomeHealthCheck
- All Implemented Interfaces:
HealthCheck
Health check that verifies the shared home is specified and isn't the same as the local home.
- Since:
- v7.4
-
Field Summary
Fields inherited from interface com.atlassian.jira.health.HealthCheck
BLOCKING_START, CAUSE_KEY, CHECK_ID_KEY, DISMISSIBLE, EVENT_ID_KEY, HELP_URL_KEY, INTERACTIVE_JOHNSON, JOHNSON_UI_VERSION, TEMPLATE_CONTEXT
-
Method Summary
Modifier and TypeMethodDescriptionprotected List<HealthCheckResult>
protected Set<LifecyclePhase>
static SharedHomeHealthCheck
getInstance
(HealthCheck... prerequisites) Returns an instance of this health check, looking up its dependencies fromComponentAccessor
.getName()
Methods inherited from class com.atlassian.jira.health.HealthCheckTemplate
isApplicableFor, perform
Methods inherited from class com.atlassian.jira.health.AbstractHealthCheck
getPrerequisites
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.jira.health.HealthCheck
getId
-
Method Details
-
getInstance
Returns an instance of this health check, looking up its dependencies fromComponentAccessor
.- Parameters:
prerequisites
- this check's prerequisite checks- Returns:
- see above
-
getName
-
getApplicablePhases
- Specified by:
getApplicablePhases
in classHealthCheckTemplate
-
doPerform
- Specified by:
doPerform
in classHealthCheckTemplate
-