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.
|
SubmoduleUpdateCommand |
setStrategy(MergeStrategy strategy) |
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>>ConcurrentRefUpdateExceptionCheckoutConflictExceptionInvalidMergeHeadsExceptionInvalidConfigurationExceptionNoHeadExceptionNoMessageExceptionRefNotFoundExceptionWrongRepositoryStateExceptionGitAPIExceptionpublic SubmoduleUpdateCommand setStrategy(MergeStrategy strategy)
strategy - The merge strategy to use during this update operation.thisCopyright © 2014. All rights reserved.