Callable<Collection<String>>public class SubmoduleUpdateCommand extends TransportCommand<SubmoduleUpdateCommand,Collection<String>>
repocredentialsProvider, timeout, transportConfigCallback| Constructor | Description |
|---|---|
SubmoduleUpdateCommand(Repository repo) |
| Modifier and Type | Method | 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) |
checkCallable, getRepository, setCallableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigure, configure, self, setCredentialsProvider, setTimeout, setTransportConfigCallbackpublic 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 © 2018. All rights reserved.