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, setRemoteName
protected 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 PrePushHook
public String call() throws IOException, AbortedByHookException
call
in interface Callable<String>
call
in class PrePushHook
IOException
AbortedByHookException
protected Repository getRepository()
protected PrintStream getOutputStream()
protected void doRun() throws AbortedByHookException
AbortedByHookException
Copyright © 2018 Eclipse JGit Project. All rights reserved.