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 TypeMethodDescriptionboolean
deletePluginPath
(Path pluginPath) Removes a plugin from the repository.List all plugin paths.
-
Method Details
-
getPluginPaths
List all plugin paths.- Returns:
- a list with paths
-
deletePluginPath
Removes a plugin from the repository.- Parameters:
pluginPath
- the plugin path- Returns:
- true if deleted
- Throws:
PluginRuntimeException
- if something goes wrong
-