The set of installed plugins. We access this class property only through its accompanying function [getInstalledPlugins]{@link PluginIssues#getInstalledPlugins} to ensure that we only read the file once and reduce excessive I/O.
A map containing issues for each plugin for which problems were detected.
This is the variable that stores the specific instance of the PluginIssues. Defined as static so that it can be accessed from anywhere.
Gets a single instance of the PluginIssues. On the first call of PluginIssues.instance, a new Plugin Issues object is initialized and returned. Every subsequent call will use the one that was first created.
The newly initialized PMF object.
Reports whether or not a plugin has any issues with any of the specified severities.
The name of the plugin
An array of issue severities.
False otherwise.
Get the issues recorded for all plugins.
Get the set of installed plugins. This function should be the only means used to access our installedPlugins class variable.
Get the array of issues for the specified plugin.
The name of the plugin
If no issues, an empty array is returned.
Record an issue that was discovered in a plugin into an in-memory structure. The plugin issues can later be accessed to report the health of a plugin.
The name of the plugin
The severity of the issue. Use PluginIssues.ERROR or PluginIssues.WARNING
The issue message text to record.
Remove the specified plugin from the collection of plugin issues.
The name of the plugin to remove
Generated using TypeDoc
This class is used to record and access plugin errors and warnings. It is a singleton and should be accessed via PluginIssues.instance.