abstract class JGitCallExecutor extends Object
GitCall
with special logic around invocationsConstructor and Description |
---|
JGitCallExecutor() |
Modifier and Type | Method and Description |
---|---|
(package private) static JGitCallExecutor |
direct() |
(package private) abstract <T> T |
invokeCall(JGitCall<T> call)
Invoke given call
|
(package private) static JGitCallExecutor |
synchronize(JGitCallExecutor executor) |
(package private) static JGitCallExecutor |
withSshPrivateKey(String sshPrivateKey)
Because JGit relies on JSch to handle SSH transport, which binds SSH key
via static instance, there's no elegant way to allow multiple SSH keys in
the same JVM.
|
static JGitCallExecutor direct()
static JGitCallExecutor synchronize(JGitCallExecutor executor)
executor
- Given executorstatic JGitCallExecutor withSshPrivateKey(String sshPrivateKey)
sshPrivateKey
- Path to SSH private keyabstract <T> T invokeCall(JGitCall<T> call) throws org.eclipse.jgit.api.errors.GitAPIException
call
- The call to invokeorg.eclipse.jgit.api.errors.GitAPIException
- Allows JGit exceptionsCopyright © 2009–2014. All rights reserved.