Package com.gitblit.manager

Examples of com.gitblit.manager.IGitblit.uninstallPlugin()


      PluginWrapper pluginWrapper = getPlugin(id);
      if (pluginWrapper == null) {
        throw new UnloggedFailure(String.format("Plugin %s is not installed!", id));
      }

      if (gitblit.uninstallPlugin(pluginWrapper.getPluginId())) {
        stdout.println(String.format("Uninstalled %s", pluginWrapper.getPluginId()));
      } else {
        throw new UnloggedFailure(1, String.format("Failed to uninstall %s", pluginWrapper.getPluginId()));
      }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.