public class SubmoduleUpdateCommand extends TransportCommand<SubmoduleUpdateCommand,Collection<String>>
credentialsProvider, timeout, transportConfigCallbackrepo| Constructor and Description | 
|---|
SubmoduleUpdateCommand(Repository repo)  | 
| Modifier and Type | Method and Description | 
|---|---|
SubmoduleUpdateCommand | 
addPath(String path)
Add repository-relative submodule path to initialize 
 | 
Collection<String> | 
call()
Execute the SubmoduleUpdateCommand command. 
 | 
SubmoduleUpdateCommand | 
setProgressMonitor(ProgressMonitor monitor)
The progress monitor associated with the clone operation. 
 | 
configure, configure, self, setCredentialsProvider, setTimeout, setTransportConfigCallbackcheckCallable, getRepository, setCallablepublic SubmoduleUpdateCommand(Repository repo)
repo - public SubmoduleUpdateCommand setProgressMonitor(ProgressMonitor monitor)
NullProgressMonitormonitor - NullProgressMonitorpublic SubmoduleUpdateCommand addPath(String path)
path - (with / as separator)public Collection<String> call() throws InvalidConfigurationException, NoHeadException, ConcurrentRefUpdateException, CheckoutConflictException, InvalidMergeHeadsException, WrongRepositoryStateException, NoMessageException, NoHeadException, RefNotFoundException, GitAPIException
call in interface Callable<Collection<String>>call in class GitCommand<Collection<String>>ConcurrentRefUpdateExceptionCheckoutConflictExceptionInvalidMergeHeadsExceptionInvalidConfigurationExceptionNoHeadExceptionNoMessageExceptionRefNotFoundExceptionWrongRepositoryStateExceptionGitAPIExceptionCopyright © 2014. All rights reserved.