Examples of lookupPlugin()


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

        }
        pluginWrapper = plugins.get(index - 1);
      } catch (NumberFormatException e) {
        pluginWrapper = gitblit.getPlugin(id);
        if (pluginWrapper == null) {
          PluginRegistration reg = gitblit.lookupPlugin(id);
          if (reg == null) {
            throw new UnloggedFailure("Invalid plugin specified!");
          }
          pluginWrapper = gitblit.getPlugin(reg.id);
        }
View Full Code Here

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

    @Override
    public void run() throws Failure {
      IGitblit gitblit = getContext().getGitblit();
      PluginWrapper pw = getPlugin(id);
      if (pw == null) {
        PluginRegistration registration = gitblit.lookupPlugin(id);
        if (registration == null) {
          throw new Failure(1, String.format("Unknown plugin %s", id));
        }
        show(registration);
      } else {
View Full Code Here

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

     *
     * @param pw
     */
    protected void show(PluginWrapper pw) {
      IGitblit gitblit = getContext().getGitblit();
      PluginRegistration reg = gitblit.lookupPlugin(pw.getPluginId());

      // FIELDS
      final String fields = buildFieldTable(pw, reg);

      // EXTENSIONS
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.