public class PullCommand extends TransportCommand<PullCommand,PullResult>
credentialsProvider, timeout, transportConfigCallbackrepo| Modifier | Constructor and Description |
|---|---|
protected |
PullCommand(Repository repo) |
| Modifier and Type | Method and Description |
|---|---|
PullResult |
call()
Executes the
Pull command with all the options and parameters
collected by the setter methods (e.g. |
PullCommand |
setProgressMonitor(ProgressMonitor monitor) |
PullCommand |
setRebase(boolean useRebase)
Set if rebase should be used after fetching.
|
configure, configure, self, setCredentialsProvider, setTimeout, setTransportConfigCallbackcheckCallable, getRepository, setCallableprotected PullCommand(Repository repo)
repo - public PullCommand setProgressMonitor(ProgressMonitor monitor)
monitor - a progress monitorpublic PullCommand setRebase(boolean useRebase)
useRebase - thispublic PullResult call() throws GitAPIException, WrongRepositoryStateException, InvalidConfigurationException, DetachedHeadException, InvalidRemoteException, CanceledException, RefNotFoundException, NoHeadException, TransportException
Pull command with all the options and parameters
collected by the setter methods (e.g.
setProgressMonitor(ProgressMonitor)) of this class. Each
instance of this class should only be used for one invocation of the
command. Don't call this method twice on an instance.call in interface Callable<PullResult>call in class GitCommand<PullResult>WrongRepositoryStateExceptionInvalidConfigurationExceptionDetachedHeadExceptionInvalidRemoteExceptionCanceledExceptionRefNotFoundExceptionNoHeadExceptionTransportExceptionGitAPIExceptionCopyright © 2013. All Rights Reserved.