Package com.gitblit.service

Examples of com.gitblit.service.FederationPullService


    UserManager users = new UserManager(runtime).start();
    RepositoryManager repositories = new RepositoryManager(runtime, users).start();
    FederationManager federation = new FederationManager(runtime, notifications, repositories).start();
    IGitblit gitblit = new GitblitManager(runtime, null, notifications, users, null, null, repositories, null, federation);

    FederationPullService puller = new FederationPullService(gitblit, federation.getFederationRegistrations()) {
      @Override
      public void reschedule(FederationModel registration) {
        // NOOP
      }
    };
    puller.run();

    System.out.println("Finished.");
    System.exit(0);
  }
View Full Code Here


    UserManager users = new UserManager(runtime, null).start();
    RepositoryManager repositories = new RepositoryManager(runtime, null, users).start();
    FederationManager federation = new FederationManager(runtime, notifications, repositories).start();
    IGitblit gitblit = new GitblitManager(runtime, null, notifications, users, null, null, repositories, null, federation);

    FederationPullService puller = new FederationPullService(gitblit, federation.getFederationRegistrations()) {
      @Override
      public void reschedule(FederationModel registration) {
        // NOOP
      }
    };
    puller.run();

    System.out.println("Finished.");
    System.exit(0);
  }
View Full Code Here

TOP

Related Classes of com.gitblit.service.FederationPullService

Copyright © 2018 www.massapicom. 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.