Browse Source

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

tags/release-2.0.0
Nicholas DiPiazza 6 years ago
parent
commit
a569bb5768
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      pf4j/src/main/java/ro/fortsoft/pf4j/PluginManager.java

+ 3
- 3
pf4j/src/main/java/ro/fortsoft/pf4j/PluginManager.java View File

@@ -53,10 +53,10 @@ public interface PluginManager {
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
* @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);


Loading…
Cancel
Save