From c9f98de8ff666fb68e56452955002646fef18191 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20H=C3=B8ydahl?= Date: Wed, 5 Apr 2017 15:46:23 +0200 Subject: [PATCH] Ability to get pluginsRoot from PluginManager (#139) --- pf4j/src/main/java/ro/fortsoft/pf4j/PluginManager.java | 5 +++++ 1 file changed, 5 insertions(+) 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(); } -- 2.39.5