public class Hooks extends Object
| Constructor and Description |
|---|
Hooks() |
| Modifier and Type | Method and Description |
|---|---|
static CommitMsgHook |
commitMsg(Repository repo,
PrintStream outputStream) |
static PostCommitHook |
postCommit(Repository repo,
PrintStream outputStream) |
static PreCommitHook |
preCommit(Repository repo,
PrintStream outputStream) |
static PrePushHook |
prePush(Repository repo,
PrintStream outputStream) |
public static PreCommitHook preCommit(Repository repo, PrintStream outputStream)
repo - outputStream - The output stream, or null to use System.outpublic static PostCommitHook postCommit(Repository repo, PrintStream outputStream)
repo - outputStream - The output stream, or null to use System.outpublic static CommitMsgHook commitMsg(Repository repo, PrintStream outputStream)
repo - outputStream - The output stream, or null to use System.outpublic static PrePushHook prePush(Repository repo, PrintStream outputStream)
repo - outputStream - The output stream, or null to use System.outCopyright © 2017 Eclipse JGit Project. All rights reserved.