Interface HealthCheckWhitelist

All Known Implementing Classes:
ClasspathFileHealthCheckWhitelist, EmptyHealthCheckWhitelist

public interface HealthCheckWhitelist
Exported as a service by the product core to tell healthchecks which items should currently be ignored. Currently whitelists only apply to the AbstractPluginHealthCheck subclasses.

This allows most things to be immediately covered by new checks, with incremental rollout to others that are time-consuming to fix.

Since:
5.2.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Get items that should currently be ignored if they fail when running a particular healthcheck.
  • Method Details

    • getWhitelistedItemsForHealthCheck

      Set<String> getWhitelistedItemsForHealthCheck(String whitelistKey)
      Get items that should currently be ignored if they fail when running a particular healthcheck.

      The meaning of the returned items is specific to the check being run; for example, it might be plugin or module keys.

      Parameters:
      whitelistKey - the key used by the specific healthcheck implementation, e.g. from com.atlassian.healthcheck.checks.plugin.AbstractPluginHealthCheck#getWhitelistKey()