Class PluginConfigurationModel

java.lang.Object
ghidra.framework.plugintool.PluginConfigurationModel

public class PluginConfigurationModel extends Object
  • Constructor Details

  • Method Details

    • setChangeCallback

      public void setChangeCallback(Callback listener)
    • getPluginPackages

      public List<PluginPackage> getPluginPackages()
    • getPluginDescriptions

      public List<PluginDescription> getPluginDescriptions(PluginPackage pluginPackage)
    • isLoaded

      public boolean isLoaded(PluginDescription pluginDescription)
    • getPackageState

      public PluginPackageState getPackageState(PluginPackage pluginPackage)
    • addPlugin

      public void addPlugin(PluginDescription pluginDescription)
    • removeAllPlugins

      public void removeAllPlugins(PluginPackage pluginPackage)
    • addSupportedPlugins

      public void addSupportedPlugins(PluginPackage pluginPackage)
    • hasOnlyUnstablePlugins

      public boolean hasOnlyUnstablePlugins(PluginPackage pluginPackage)
    • removePlugin

      public void removePlugin(PluginDescription pluginDescription)
    • hasDependencies

      public boolean hasDependencies(PluginDescription pluginDependency)
      Return whether the plugin corresponding to the given PluginDescription has other plugins depending on a service it provides.
      Parameters:
      pluginDependency - PluginDescription of the plugin
      Returns:
      true if the plugin corresponding to the given PluginDescription has at least one plugin depending on a service it provides
    • getDependencies

      public List<PluginDescription> getDependencies(PluginDescription pd)
      Return the descriptions of the plugins that are dependent on some service that the plugin corresponding to the given PluginDescription provides.
      Parameters:
      pd - PluginDescription of the plugin
      Returns:
      the descriptions
    • getAllPluginDescriptions

      public List<PluginDescription> getAllPluginDescriptions()