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