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) |
configure, configure, self, setCredentialsProvider, setTimeout, setTransportConfigCallbackcheckCallable, getRepository, setCallableprotected PullCommand(Repository repo)
repo - public PullCommand setProgressMonitor(ProgressMonitor monitor)
monitor - a progress monitorpublic 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 java.util.concurrent.Callable<PullResult>call in class GitCommand<PullResult>WrongRepositoryStateExceptionInvalidConfigurationExceptionDetachedHeadExceptionInvalidRemoteExceptionCanceledExceptionRefNotFoundExceptionNoHeadExceptionTransportExceptionGitAPIExceptionCopyright © 2012. All Rights Reserved.