Interface PluginInternal

All Superinterfaces:
Comparable<Plugin>, Plugin, Resourced, ScopeAware
All Known Implementing Classes:
AbstractPlugin, DefaultDynamicPlugin, StaticPlugin, UnloadablePlugin, XmlDynamicPlugin

public interface PluginInternal extends Plugin
Methods that are necessary for the plugin framework, however should not be exposed via public API.
Since:
v4.0
  • Method Details

    • setBundledPlugin

      void setBundledPlugin(boolean bundledPlugin)
      Alters whether the plugin is a "bundled" plugin that can't be removed.
      Parameters:
      bundledPlugin - true if this plugin is a "bundled" plugin.
      Since:
      4.0
    • addDynamicModuleDescriptor

      boolean addDynamicModuleDescriptor(ModuleDescriptor<?> module)
      Add a module descriptor.
      Parameters:
      module - to add
      Returns:
      true if added, false if already present
      Since:
      4.0
    • getDynamicModuleDescriptors

      Iterable<ModuleDescriptor<?>> getDynamicModuleDescriptors()
      Returns:
      current set of dynamic module descriptors.
      Since:
      4.0
    • removeDynamicModuleDescriptor

      boolean removeDynamicModuleDescriptor(ModuleDescriptor<?> module)
      Remove a module descriptor.
      Parameters:
      module - to remove
      Returns:
      true if removed, false if not present
      Since:
      4.0