public class LfsPrePushHook extends PrePushHook
NAME| Constructor and Description |
|---|
LfsPrePushHook(Repository repo,
PrintStream outputStream) |
LfsPrePushHook(Repository repo,
PrintStream outputStream,
PrintStream errorStream) |
| Modifier and Type | Method and Description |
|---|---|
String |
call() |
void |
setRefs(Collection<RemoteRefUpdate> toRefs) |
getHookName, getParameters, getRemoteName, getStdinArgs, setRemoteLocation, setRemoteNamedoRun, getErrorStream, getOutputStream, getRepository, handleError, isNativeHookPresentpublic 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 PrePushHookIOExceptionAbortedByHookExceptionCopyright © 2021 Eclipse JGit Project. All rights reserved.