Example usage for org.eclipse.jgit.transport PostReceiveHook onPostReceive

List of usage examples for org.eclipse.jgit.transport PostReceiveHook onPostReceive

Introduction

In this page you can find the example usage for org.eclipse.jgit.transport PostReceiveHook onPostReceive.

Prototype

void onPostReceive(ReceivePack rp, Collection<ReceiveCommand> commands);

Source Link

Document

Invoked after all commands are executed and status has been returned.

Usage

From source file:com.google.gerrit.server.git.LazyPostReceiveHookChain.java

License:Apache License

@Override
public void onPostReceive(ReceivePack rp, Collection<ReceiveCommand> commands) {
    for (PostReceiveHook h : hooks) {
        h.onPostReceive(rp, commands);
    }/*from   w w  w . j  a v  a 2s . c  o m*/
}