Browse Source

add some javadoc so people don't wonder if this will throw exception or return null. (#160)

pull/163/head
Nicholas DiPiazza 7 years ago committed by Decebal Suiu
parent
commit
a569bb5768
  1. 6
      pf4j/src/main/java/ro/fortsoft/pf4j/PluginManager.java

6
pf4j/src/main/java/ro/fortsoft/pf4j/PluginManager.java

@ -53,10 +53,10 @@ public interface PluginManager {
List<PluginWrapper> getStartedPlugins(); List<PluginWrapper> getStartedPlugins();
/** /**
* Retrieves the plugin with this id. * Retrieves the plugin with this id, or null if the plugin does not exist.
* *
* @param pluginId * @param pluginId The pluginId for the plugin you are trying to get.
* @return the plugin * @return A PluginWrapper object for this plugin, or null if it does not exist.
*/ */
PluginWrapper getPlugin(String pluginId); PluginWrapper getPlugin(String pluginId);

Loading…
Cancel
Save