public class SubmoduleSyncCommand extends GitCommand<Map<String,String>>
repo| Constructor and Description | 
|---|
SubmoduleSyncCommand(Repository repo)  | 
| Modifier and Type | Method and Description | 
|---|---|
SubmoduleSyncCommand | 
addPath(String path)
Add repository-relative submodule path to synchronize 
 | 
Map<String,String> | 
call()
Executes the command 
 | 
protected String | 
getHeadBranch(Repository subRepo)
Get branch that HEAD currently points to 
 | 
checkCallable, getRepository, setCallablepublic SubmoduleSyncCommand(Repository repo)
repo - public SubmoduleSyncCommand addPath(String path)
path - (with / as separator)protected String getHeadBranch(Repository subRepo) throws IOException
subRepo - IOExceptionpublic Map<String,String> call() throws GitAPIException
GitCommandCopyright © 2015 Eclipse JGit Project. All rights reserved.