From f76fee63ed9cb3a30d3c0c092d860b1cb93a481b Mon Sep 17 00:00:00 2001
From: Gerard Smyth <gerard.smyth@gmail.com>
Date: Thu, 08 May 2014 13:09:30 -0400
Subject: [PATCH] Updated the SyndicationServlet to provide an additional option to return details of the tags in the repository instead of the commits. This uses a new 'ot' request parameter to indicate the object type of the content to return, which can be ither TAG or COMMIT. If this is not provided, then COMMIT is assumed to maintain backwards compatability. If tags are returned, then the paging parameters, 'l' and 'pg' are still supported, but searching options are currently ignored.
---
src/main/java/com/gitblit/manager/IPluginManager.java | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/gitblit/manager/IPluginManager.java b/src/main/java/com/gitblit/manager/IPluginManager.java
index 528bbed..d8fe0f8 100644
--- a/src/main/java/com/gitblit/manager/IPluginManager.java
+++ b/src/main/java/com/gitblit/manager/IPluginManager.java
@@ -32,16 +32,19 @@
* Returns the system version.
*
* @return the system version
+ * @since 1.5.0
*/
Version getSystemVersion();
/**
* Starts all plugins.
+ * @since 1.5.0
*/
void startPlugins();
/**
* Stops all plugins.
+ * @since 1.5.0
*/
void stopPlugins();
@@ -50,6 +53,7 @@
*
* @param pluginId
* @return the state of the plugin
+ * @since 1.5.0
*/
PluginState startPlugin(String pluginId);
@@ -58,6 +62,7 @@
*
* @param pluginId
* @return the state of the plugin
+ * @since 1.5.0
*/
PluginState stopPlugin(String pluginId);
@@ -66,6 +71,7 @@
*
* @param type
* @return a list of extensions the plugin provides
+ * @since 1.5.0
*/
List<Class<?>> getExtensionClasses(String pluginId);
@@ -74,6 +80,7 @@
*
* @param type
* @return a list of extension instances
+ * @since 1.5.0
*/
<T> List<T> getExtensions(Class<T> type);
@@ -81,6 +88,7 @@
* Returns the list of all resolved plugins.
*
* @return a list of resolved plugins
+ * @since 1.5.0
*/
List<PluginWrapper> getPlugins();
@@ -89,6 +97,7 @@
*
* @param pluginId
* @return the plugin wrapper
+ * @since 1.5.0
*/
PluginWrapper getPlugin(String pluginId);
@@ -97,6 +106,7 @@
*
* @param clazz extension point class to retrieve extension for
* @return PluginWrapper that loaded the given class
+ * @since 1.5.0
*/
PluginWrapper whichPlugin(Class<?> clazz);
@@ -105,6 +115,7 @@
*
* @param pluginId
* @return true if successful
+ * @since 1.5.0
*/
boolean disablePlugin(String pluginId);
@@ -113,6 +124,7 @@
*
* @param pluginId
* @return true if successful
+ * @since 1.5.0
*/
boolean enablePlugin(String pluginId);
@@ -121,6 +133,7 @@
*
* @param pluginId
* @return true if successful
+ * @since 1.5.0
*/
boolean uninstallPlugin(String pluginId);
@@ -128,6 +141,7 @@
* Refresh the plugin registry.
*
* @param verifyChecksum
+ * @since 1.5.0
*/
boolean refreshRegistry(boolean verifyChecksum);
@@ -136,6 +150,7 @@
*
* @param url
* @param verifyChecksum
+ * @since 1.5.0
*/
boolean installPlugin(String url, boolean verifyChecksum) throws IOException;
@@ -147,6 +162,7 @@
* @param verifyChecksum
* @return true if the upgrade has been successful
* @throws IOException
+ * @since 1.5.0
*/
boolean upgradePlugin(String pluginId, String url, boolean verifyChecksum) throws IOException;
@@ -154,6 +170,7 @@
* The list of all registered plugins.
*
* @return a list of registered plugins
+ * @since 1.5.0
*/
List<PluginRegistration> getRegisteredPlugins();
@@ -162,6 +179,7 @@
*
* @param state
* @return the list of plugins that match the install state
+ * @since 1.5.0
*/
List<PluginRegistration> getRegisteredPlugins(InstallState state);
@@ -170,6 +188,7 @@
*
* @param idOrName
* @return a plugin registration or null
+ * @since 1.5.0
*/
PluginRegistration lookupPlugin(String idOrName);
@@ -179,6 +198,7 @@
* @param idOrName
* @param version (use null for the current version)
* @return the identified plugin version or null
+ * @since 1.5.0
*/
PluginRelease lookupRelease(String idOrName, String version);
}
--
Gitblit v1.9.1