summaryrefslogtreecommitdiffstats
path: root/pf4j
diff options
context:
space:
mode:
authorJan Høydahl <janhoy@users.noreply.github.com>2017-04-05 15:46:23 +0200
committerDecebal Suiu <decebal.suiu@gmail.com>2017-04-05 16:46:23 +0300
commitc9f98de8ff666fb68e56452955002646fef18191 (patch)
tree40b73bc65bd195e65bf1bdb27e95992b4ebe524d /pf4j
parent1c85f2ccb4bee1c0eb6f2eda1fec2e43413c5f41 (diff)
downloadpf4j-c9f98de8ff666fb68e56452955002646fef18191.tar.gz
pf4j-c9f98de8ff666fb68e56452955002646fef18191.zip
Ability to get pluginsRoot from PluginManager (#139)
Diffstat (limited to 'pf4j')
-rw-r--r--pf4j/src/main/java/ro/fortsoft/pf4j/PluginManager.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/pf4j/src/main/java/ro/fortsoft/pf4j/PluginManager.java b/pf4j/src/main/java/ro/fortsoft/pf4j/PluginManager.java
index f023e29..2ed5b24 100644
--- a/pf4j/src/main/java/ro/fortsoft/pf4j/PluginManager.java
+++ b/pf4j/src/main/java/ro/fortsoft/pf4j/PluginManager.java
@@ -174,4 +174,9 @@ public interface PluginManager {
*/
Version getSystemVersion();
+ /**
+ * Gets the path of the folder where plugins are installed
+ * @return Path of plugins root
+ */
+ public Path getPluginsRoot();
}