Package com.atlassian.jira.startup
Class SystemPluginsEnabledHealthCheck
java.lang.Object
com.atlassian.jira.health.AbstractHealthCheck
com.atlassian.jira.health.HealthCheckTemplate
com.atlassian.jira.startup.SystemPluginsEnabledHealthCheck
- All Implemented Interfaces:
HealthCheck
Checks that all system plugins have been enabled.
-
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected List<HealthCheckResult>
protected Set<LifecyclePhase>
protected com.atlassian.johnson.event.EventLevel
protected com.atlassian.plugin.PluginAccessor
protected com.atlassian.plugin.metadata.PluginMetadataManager
These methods only really exist for testing purposes (so the globals they contain are encapsulated and overridableboolean
isOk()
Returns true if all system plugins were enabled at the time that this check was first performed.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
-
Field Details
-
KB_URL
-
-
Constructor Details
-
SystemPluginsEnabledHealthCheck
-
-
Method Details
-
getApplicablePhases
- Specified by:
getApplicablePhases
in classHealthCheckTemplate
-
doPerform
- Specified by:
doPerform
in classHealthCheckTemplate
-
isOk
public boolean isOk()Returns true if all system plugins were enabled at the time that this check was first performed.- Returns:
- a boolean indicating if all system plugins are enabled
-
getPluginMetadataManager
protected com.atlassian.plugin.metadata.PluginMetadataManager getPluginMetadataManager()These methods only really exist for testing purposes (so the globals they contain are encapsulated and overridable -
getPluginAccessor
protected com.atlassian.plugin.PluginAccessor getPluginAccessor() -
getFatalEventLevel
protected com.atlassian.johnson.event.EventLevel getFatalEventLevel()
-