diff --git a/pf4j/src/main/java/ro/fortsoft/pf4j/PluginManager.java b/pf4j/src/main/java/ro/fortsoft/pf4j/PluginManager.java index 2efd9f3..793784b 100644 --- a/pf4j/src/main/java/ro/fortsoft/pf4j/PluginManager.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/PluginManager.java @@ -53,10 +53,10 @@ public interface PluginManager { List getStartedPlugins(); /** - * Retrieves the plugin with this id. + * Retrieves the plugin with this id, or null if the plugin does not exist. * - * @param pluginId - * @return the plugin + * @param pluginId The pluginId for the plugin you are trying to get. + * @return A PluginWrapper object for this plugin, or null if it does not exist. */ PluginWrapper getPlugin(String pluginId);