Callable<Collection<String>>
public class SubmoduleUpdateCommand extends TransportCommand<SubmoduleUpdateCommand,Collection<String>>
repo
credentialsProvider, 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, setCallable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configure, configure, self, setCredentialsProvider, setTimeout, setTransportConfigCallback
public SubmoduleUpdateCommand(Repository repo)
repo
- public SubmoduleUpdateCommand setProgressMonitor(ProgressMonitor monitor)
NullProgressMonitor
monitor
- NullProgressMonitor
public 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>>
ConcurrentRefUpdateException
CheckoutConflictException
InvalidMergeHeadsException
InvalidConfigurationException
NoHeadException
NoMessageException
RefNotFoundException
WrongRepositoryStateException
GitAPIException
public SubmoduleUpdateCommand setStrategy(MergeStrategy strategy)
strategy
- The merge strategy to use during this update operation.this
Copyright © 2018. All rights reserved.