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 adirectory
, @code zip} orjar
file.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
deletePluginPath(java.nio.file.Path pluginPath)
Removes a plugin from the repository.java.util.List<java.nio.file.Path>
getPluginPaths()
List all plugin paths.
-
-
-
Method Detail
-
getPluginPaths
java.util.List<java.nio.file.Path> getPluginPaths()
List all plugin paths.- Returns:
- a list with paths
-
deletePluginPath
boolean deletePluginPath(java.nio.file.Path pluginPath)
Removes a plugin from the repository.- Parameters:
pluginPath
- the plugin path- Returns:
- true if deleted
- Throws:
PluginRuntimeException
- if something goes wrong
-
-