James Moger
2014-04-14 a7af195bed674c2f0f1a74b69cefc8be1d90572d
src/main/java/com/gitblit/manager/IPluginManager.java
@@ -118,8 +118,10 @@
    /**
     * Refresh the plugin registry.
     *
     * @param verifyChecksum
     */
    boolean refreshRegistry();
    boolean refreshRegistry(boolean verifyChecksum);
    /**
     * Install the plugin from the specified url.
@@ -130,6 +132,17 @@
    boolean installPlugin(String url, boolean verifyChecksum) throws IOException;
    /**
     * Upgrade the install plugin from the specified url.
     *
     * @param pluginId
     * @param url
     * @param verifyChecksum
     * @return true if the upgrade has been successful
     * @throws IOException
     */
    boolean upgradePlugin(String pluginId, String url, boolean verifyChecksum) throws IOException;
    /**
     * The list of all registered plugins.
     *
     * @return a list of registered plugins