public class PullCommand extends TransportCommand<PullCommand,PullResult>
credentialsProvider, timeout, transportConfigCallback
repo
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, setTransportConfigCallback
checkCallable, getRepository, setCallable
protected PullCommand(Repository repo)
repo
- public PullCommand setProgressMonitor(ProgressMonitor monitor)
monitor
- a progress monitorpublic PullResult call() throws WrongRepositoryStateException, InvalidConfigurationException, DetachedHeadException, InvalidRemoteException, CanceledException, RefNotFoundException, NoHeadException
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.WrongRepositoryStateException
InvalidConfigurationException
DetachedHeadException
InvalidRemoteException
CanceledException
RefNotFoundException
NoHeadException
Copyright © 2012. All Rights Reserved.