Class PluginPackage

java.lang.Object
ghidra.framework.plugintool.util.PluginPackage
All Implemented Interfaces:
ExtensionPoint, Comparable<PluginPackage>
Direct Known Subclasses:
CorePluginPackage, DeveloperPluginPackage, ExamplesPluginPackage, MiscellaneousPluginPackage, UtilityPluginPackage

public abstract class PluginPackage extends Object implements ExtensionPoint, Comparable<PluginPackage>
  • Field Details

  • Constructor Details

    • PluginPackage

      protected PluginPackage(String name, Icon icon, String description)
    • PluginPackage

      protected PluginPackage(String name, Icon icon, String description, int priority)
  • Method Details

    • exists

      public static boolean exists(String packageName)
      Returns true if the system has found a plugin package for the given name
      Parameters:
      packageName - the package name
      Returns:
      true if the system has found a plugin package for the given name
    • getPluginPackage

      public static PluginPackage getPluginPackage(String packageName)
      Returns the existing plugin package with the given name. If no package exists, then the MiscellaneousPluginPackage will be returned.
      Parameters:
      packageName - the package name
      Returns:
      the package
    • getName

      public String getName()
    • getIcon

      public Icon getIcon()
    • getDescription

      public String getDescription()
    • getActivationLevel

      public PluginStatus getActivationLevel()
      The minimum level required to activate plugins when the entire package is activated by the user.
      Returns:
      the minimum level
    • compareTo

      public int compareTo(PluginPackage other)
      Specified by:
      compareTo in interface Comparable<PluginPackage>
    • toString

      public String toString()
      Overrides:
      toString in class Object