Example usage for org.eclipse.jgit.transport PreReceiveHook interface-usage

List of usage examples for org.eclipse.jgit.transport PreReceiveHook interface-usage

Introduction

In this page you can find the example usage for org.eclipse.jgit.transport PreReceiveHook interface-usage.

Usage

From source file com.gitblit.git.GitblitReceivePack.java

/**
 * GitblitReceivePack processes receive commands.  It also executes Groovy pre-
 * and post- receive hooks.
 *
 * The general execution flow is:
 * <ol>

From source file com.gitblit.git.ReceiveHook.java

/**
 * The Gitblit receive hook allows for special processing on push events.
 * That might include rejecting writes to specific branches or executing a
 * script.
 * 
 * @author James Moger

From source file com.google.gerrit.gpg.SignedPushPreReceiveHook.java

/**
 * Pre-receive hook to check signed pushes.
 * <p>
 * If configured, prior to processing any push using
 * {@link com.google.gerrit.server.git.ReceiveCommits}, requires that any push
 * certificate present must be valid.

From source file com.google.gerrit.server.git.AsyncReceiveCommits.java

/** Hook that delegates to {@link ReceiveCommits} in a worker thread. */
public class AsyncReceiveCommits implements PreReceiveHook {
    private static final Logger log = LoggerFactory.getLogger(AsyncReceiveCommits.class);

    private static final String TIMEOUT_NAME = "ReceiveCommitsOverallTimeout";

From source file com.google.gerrit.server.git.gpg.SignedPushPreReceiveHook.java

/**
 * Pre-receive hook to check signed pushes.
 * <p>
 * If configured, prior to processing any push using
 * {@link com.google.gerrit.server.git.ReceiveCommits}, requires that any push
 * certificate present must be valid.