Package org.pf4j

Interface PluginRepository

All Known Implementing Classes:
BasePluginRepository, CompoundPluginRepository, DefaultPluginRepository, DevelopmentPluginRepository, JarPluginRepository

public interface PluginRepository
Directory that contains plugins. A plugin could be a directory, @code zip} or jar file.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    deletePluginPath(Path pluginPath)
    Removes a plugin from the repository.
    List all plugin paths.
  • Method Details

    • getPluginPaths

      List<Path> getPluginPaths()
      List all plugin paths.
      Returns:
      a list with paths
    • deletePluginPath

      boolean deletePluginPath(Path pluginPath)
      Removes a plugin from the repository.
      Parameters:
      pluginPath - the plugin path
      Returns:
      true if deleted
      Throws:
      PluginRuntimeException - if something goes wrong