Examples of ReceiveCommandEvent


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

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

Examples of com.gitblit.git.ReceiveCommandEvent

              }
            }
          }

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