| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static CommitMsgHook | Returns: The commit-msg hook for the given repository.a repo, PrintStream org. object.The output stream, or outputStream)null to use System.outCreate commit-msg hook for the given repository with the default error stream |
| public static CommitMsgHook | Returns: The pre-commit hook for the given repository.a repo, PrintStream org. object.The output stream, or outputStream, PrintStream null to use System.outThe error stream, or errorStream)null to use System.errCreate commit-msg hook for the given repository |
| public static PostCommitHook | Returns: The post-commit hook for the given repository.a repo, PrintStream org. object.The output stream, or outputStream)null to use System.outCreate post-commit hook for the given repository with the default error stream |
| public static PostCommitHook | Returns: The pre-commit hook for the given repository.a repo, PrintStream org. object.The output stream, or outputStream, PrintStream null to use System.outThe error stream, or errorStream)null to use System.errCreate post-commit hook for the given repository |
| public static PreCommitHook | Returns: The pre-commit hook for the given repository.a repo, PrintStream org. object.The output stream, or outputStream)null to use System.outCreate pre-commit hook for the given repository with the default error stream |
| public static PreCommitHook | Returns: The pre-commit hook for the given repository.a repo, PrintStream org. object.The output stream, or outputStream, PrintStream null to use System.outThe error stream, or errorStream)null to use System.errCreate pre-commit hook for the given repository |
| public static PrePushHook | Returns: The pre-push hook for the given repository.a repo, PrintStream org. object.The output stream, or outputStream)null to use System.outCreate pre-push hook for the given repository with the default error stream |
| public static PrePushHook | Returns: The pre-push hook for the given repository.a repo, PrintStream org. object.The output stream, or outputStream, PrintStream null to use System.outThe error stream, or errorStream)null to use System.errCreate pre-push hook for the given repository |
| Hooks | back to summary |
|---|---|
| public Hooks() | |
| commitMsg | back to summary |
|---|---|
| public static CommitMsgHook commitMsg(Repository repo, PrintStream outputStream) Create commit-msg hook for the given repository with the default error stream
| |
| commitMsg | back to summary |
|---|---|
| public static CommitMsgHook commitMsg(Repository repo, PrintStream outputStream, PrintStream errorStream) Create commit-msg hook for the given repository
| |
| postCommit | back to summary |
|---|---|
| public static PostCommitHook postCommit(Repository repo, PrintStream outputStream) Create post-commit hook for the given repository with the default error stream
| |
| postCommit | back to summary |
|---|---|
| public static PostCommitHook postCommit(Repository repo, PrintStream outputStream, PrintStream errorStream) Create post-commit hook for the given repository
| |
| preCommit | back to summary |
|---|---|
| public static PreCommitHook preCommit(Repository repo, PrintStream outputStream) Create pre-commit hook for the given repository with the default error stream
| |
| preCommit | back to summary |
|---|---|
| public static PreCommitHook preCommit(Repository repo, PrintStream outputStream, PrintStream errorStream) Create pre-commit hook for the given repository
| |
| prePush | back to summary |
|---|---|
| public static PrePushHook prePush(Repository repo, PrintStream outputStream) Create pre-push hook for the given repository with the default error stream
| |
| prePush | back to summary |
|---|---|
| public static PrePushHook prePush(Repository repo, PrintStream outputStream, PrintStream errorStream) Create pre-push hook for the given repository
| |