/**
* Retrieves the plugins ids that the given plugin id directly depends on.
*
- * @param pluginId
+ * @param pluginId the unique plugin identifier, specified in its metadata
* @return
*/
public List<String> getDependencies(String pluginId) {
/**
* Retrieves the plugins ids that the given content is a direct dependency of.
*
- * @param pluginId
+ * @param pluginId the unique plugin identifier, specified in its metadata
* @return
*/
public List<String> getDependents(String pluginId) {
/**
* Retrieves the plugin with this id, or null if the plugin does not exist.
*
- * @param pluginId The pluginId for the plugin you are trying to get.
+ * @param pluginId the unique plugin identifier, specified in its metadata
* @return A PluginWrapper object for this plugin, or null if it does not exist.
*/
PluginWrapper getPlugin(String pluginId);
/**
* Load a plugin.
*
- * @param pluginPath
- * @return the pluginId of the installed plugin or null
+ * @param pluginPath the plugin location
+ * @return the pluginId of the installed plugin as specified in
+ * its {@linkplain PluginDescriptor metadata}; or {@code null}
*/
String loadPlugin(Path pluginPath);
void startPlugins();
/**
- * Start the specified plugin and it's dependencies.
+ * Start the specified plugin and its dependencies.
*
* @return the plugin state
*/
void stopPlugins();
/**
- * Stop the specified plugin and it's dependencies.
+ * Stop the specified plugin and its dependencies.
*
* @return the plugin state
*/
/**
* Unload a plugin.
*
- * @param pluginId
+ * @param pluginId the unique plugin identifier, specified in its metadata
* @return true if the plugin was unloaded
*/
boolean unloadPlugin(String pluginId);
/**
* Disables a plugin from being loaded.
*
- * @param pluginId
+ * @param pluginId the unique plugin identifier, specified in its metadata
* @return true if plugin is disabled
*/
boolean disablePlugin(String pluginId);
/**
* Enables a plugin that has previously been disabled.
*
- * @param pluginId
+ * @param pluginId the unique plugin identifier, specified in its metadata
* @return true if plugin is enabled
*/
boolean enablePlugin(String pluginId);
/**
* Deletes a plugin.
*
- * @param pluginId
+ * @param pluginId the unique plugin identifier, specified in its metadata
* @return true if the plugin was deleted
*/
boolean deletePlugin(String pluginId);
/**
* Checks if the plugin is disabled or not
*
- * @param pluginId the plugin id
+ * @param pluginId the unique plugin identifier, specified in its metadata
* @return if the plugin is disabled or not
*/
boolean isPluginDisabled(String pluginId);
/**
* Disables a plugin from being loaded.
*
- * @param pluginId
+ * @param pluginId the unique plugin identifier, specified in its metadata
* @return true if plugin is disabled
*/
boolean disablePlugin(String pluginId);
/**
* Enables a plugin that has previously been disabled.
*
- * @param pluginId
+ * @param pluginId the unique plugin identifier, specified in its metadata
* @return true if plugin is enabled
*/
boolean enablePlugin(String pluginId);