Package com.gitblit.git

Examples of com.gitblit.git.ReceiveCommandEvent


  public synchronized void onRefsChanged(RefsChangedEvent event) {
    if (!(event instanceof ReceiveCommandEvent)) {
      return;
    }

    ReceiveCommandEvent branchUpdate = (ReceiveCommandEvent) event;
    RepositoryModel repository = branchUpdate.model;
    ReceiveCommand cmd = branchUpdate.cmd;
    try {
      switch (cmd.getType()) {
      case CREATE:
View Full Code Here


  public synchronized void onRefsChanged(RefsChangedEvent event) {
    if (!(event instanceof ReceiveCommandEvent)) {
      return;
    }

    ReceiveCommandEvent branchUpdate = (ReceiveCommandEvent) event;
    RepositoryModel repository = branchUpdate.model;
    ReceiveCommand cmd = branchUpdate.cmd;
    try {
      switch (cmd.getType()) {
      case CREATE:
View Full Code Here

              }
            }
          }

          if (ticketBranchCmd != null) {
            repository.fireEvent(new ReceiveCommandEvent(model, ticketBranchCmd));
          }
        }
      } catch (Exception e) {
        logger.error("Error updating mirror " + repositoryName, e);
      } finally {
View Full Code Here

TOP

Related Classes of com.gitblit.git.ReceiveCommandEvent

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.