Package com.gitblit.manager

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


    private boolean disableChecksum;

    @Override
    public void run() throws Failure {
      IGitblit gitblit = getContext().getGitblit();
      gitblit.refreshRegistry(!disableChecksum);
    }
  }

  @CommandMetaData(name = "available", description = "List the available plugins")
  public static class AvailablePlugins extends ListFilterCommand<PluginRegistration> {
View Full Code Here


    @Override
    protected List<PluginRegistration> getItems() throws UnloggedFailure {
      IGitblit gitblit = getContext().getGitblit();
      if (refresh) {
        gitblit.refreshRegistry(!disableChecksum);
      }

      List<PluginRegistration> list;
      if (updates) {
        list = gitblit.getRegisteredPlugins(InstallState.UPDATE_AVAILABLE);
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.