Class SystemPluginsEnabledHealthCheck

All Implemented Interfaces:
HealthCheck

public class SystemPluginsEnabledHealthCheck extends HealthCheckTemplate
Checks that all system plugins have been enabled.
  • Field Details

    • KB_URL

      public static final URL KB_URL
  • Constructor Details

    • SystemPluginsEnabledHealthCheck

      public SystemPluginsEnabledHealthCheck(HealthCheck... prerequisites)
  • Method Details

    • getApplicablePhases

      protected Set<LifecyclePhase> getApplicablePhases()
      Specified by:
      getApplicablePhases in class HealthCheckTemplate
    • doPerform

      protected List<HealthCheckResult> doPerform()
      Specified by:
      doPerform in class HealthCheckTemplate
    • 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()