public class SubmoduleUpdateCommand extends TransportCommand<SubmoduleUpdateCommand,java.util.Collection<java.lang.String>>
credentialsProvider, timeout, transportConfigCallback
repo
Constructor and Description |
---|
SubmoduleUpdateCommand(Repository repo) |
Modifier and Type | Method and Description |
---|---|
SubmoduleUpdateCommand |
addPath(java.lang.String path)
Add repository-relative submodule path to initialize
|
java.util.Collection<java.lang.String> |
call()
Execute the SubmoduleUpdateCommand command.
|
SubmoduleUpdateCommand |
setProgressMonitor(ProgressMonitor monitor)
The progress monitor associated with the clone operation.
|
configure, configure, self, setCredentialsProvider, setTimeout, setTransportConfigCallback
checkCallable, getRepository, setCallable
public SubmoduleUpdateCommand(Repository repo)
repo
- public SubmoduleUpdateCommand setProgressMonitor(ProgressMonitor monitor)
NullProgressMonitor
monitor
- NullProgressMonitor
public SubmoduleUpdateCommand addPath(java.lang.String path)
path
- public java.util.Collection<java.lang.String> call() throws InvalidConfigurationException, NoHeadException, ConcurrentRefUpdateException, CheckoutConflictException, InvalidMergeHeadsException, WrongRepositoryStateException, NoMessageException, NoHeadException, RefNotFoundException, GitAPIException
call
in interface java.util.concurrent.Callable<java.util.Collection<java.lang.String>>
call
in class GitCommand<java.util.Collection<java.lang.String>>
ConcurrentRefUpdateException
CheckoutConflictException
InvalidMergeHeadsException
InvalidConfigurationException
NoHeadException
NoMessageException
RefNotFoundException
WrongRepositoryStateException
GitAPIException
Copyright © 2012. All Rights Reserved.