Class ClasspathFileHealthCheckWhitelist
java.lang.Object
com.atlassian.healthcheck.spi.impl.ClasspathFileHealthCheckWhitelist
- All Implemented Interfaces:
HealthCheckWhitelist
Looks on the classpath for healthcheck whitelist files named
atlassian-healthcheck-whitelist.txt.
These files are in the application core, since this is where we modify the set of installed plugins.
Format:
# Optional comments
DisabledPluginModulesHealthCheck=my.plugin.key:my.module.key1
DisabledPluginModulesHealthCheck=my.plugin.key2:my.module.key4
DisabledPluginsHealthCheck=my.plugin.key3
etc.
- Since:
- 5.2.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetWhitelistedItemsForHealthCheck(String whitelistKey) Get items that should currently be ignored if they fail when running a particular healthcheck.
-
Constructor Details
-
ClasspathFileHealthCheckWhitelist
public ClasspathFileHealthCheckWhitelist()
-
-
Method Details
-
getWhitelistedItemsForHealthCheck
Description copied from interface:HealthCheckWhitelistGet 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.
- Specified by:
getWhitelistedItemsForHealthCheckin interfaceHealthCheckWhitelist- Parameters:
whitelistKey- the key used by the specific healthcheck implementation, e.g. from com.atlassian.healthcheck.checks.plugin.AbstractPluginHealthCheck#getWhitelistKey()
-