Package ghidra.framework.plugintool
Class PluginsConfiguration
java.lang.Object
ghidra.framework.plugintool.PluginsConfiguration
- Direct Known Subclasses:
DefaultPluginsConfiguration
This class maintains a collection of all plugin classes that are acceptable for a given tool
type. Simple applications with only one plugin type can use the
DefaultPluginsConfiguration
. More complex tools can support a subset of the available
plugins. Those tools should create custom subclasses for each tool type, that filter out plugins
that are not appropriate for that tool type.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract boolean
getPluginClassNames
(org.jdom.Element element) getPluginDescription
(String className) getPluginDescriptions
(PluginPackage pluginPackage) getPluginNamesByCurrentPackage
(List<String> classNames) Used to convert an old style tool XML file by mapping the given class names to plugin packages and then adding all plugins in that package.void
savePluginsToXml
(org.jdom.Element root, List<Plugin> plugins)
-
Constructor Details
-
PluginsConfiguration
protected PluginsConfiguration()
-
-
Method Details
-
accepts
-
getPluginDescription
-
savePluginsToXml
-
getPluginNamesByCurrentPackage
Used to convert an old style tool XML file by mapping the given class names to plugin packages and then adding all plugins in that package. This has the effect of pulling in more plugin classes than were originally specified in the tool xml.- Parameters:
classNames
- the list of classNames from from the old XML file- Returns:
- the adjusted set of plugin class names
-
getPluginClassNames
-
getPluginPackages
-
getPluginDescriptions
-
getUnstablePluginDescriptions
-
getManagedPluginDescriptions
-