public class LfsPrePushHook extends PrePushHook
| Modifier and Type | Field and Description |
|---|---|
protected PrintStream |
outputStream |
NAME| Constructor and Description |
|---|
LfsPrePushHook(Repository repo,
PrintStream outputStream) |
| Modifier and Type | Method and Description |
|---|---|
String |
call() |
protected void |
doRun() |
protected PrintStream |
getOutputStream() |
protected Repository |
getRepository() |
void |
setRefs(Collection<RemoteRefUpdate> toRefs) |
getHookName, getParameters, getRemoteName, getStdinArgs, setRemoteLocation, setRemoteNameprotected final PrintStream outputStream
public LfsPrePushHook(Repository repo, PrintStream outputStream)
repo - the repositoryoutputStream - not used by this implementationpublic void setRefs(Collection<RemoteRefUpdate> toRefs)
setRefs in class PrePushHookpublic String call() throws IOException, AbortedByHookException
call in interface Callable<String>call in class PrePushHookIOExceptionAbortedByHookExceptionprotected Repository getRepository()
protected PrintStream getOutputStream()
protected void doRun()
throws AbortedByHookException
AbortedByHookExceptionCopyright © 2018 Eclipse JGit Project. All rights reserved.