public class SubmoduleSyncCommand extends GitCommand<java.util.Map<java.lang.String,java.lang.String>>
repo
Constructor and Description |
---|
SubmoduleSyncCommand(Repository repo) |
Modifier and Type | Method and Description |
---|---|
SubmoduleSyncCommand |
addPath(java.lang.String path)
Add repository-relative submodule path to synchronize
|
java.util.Map<java.lang.String,java.lang.String> |
call()
Executes the command
|
protected java.lang.String |
getHeadBranch(Repository subRepo)
Get branch that HEAD currently points to
|
checkCallable, getRepository, setCallable
public SubmoduleSyncCommand(Repository repo)
repo
- public SubmoduleSyncCommand addPath(java.lang.String path)
path
- protected java.lang.String getHeadBranch(Repository subRepo) throws java.io.IOException
subRepo
- java.io.IOException
public java.util.Map<java.lang.String,java.lang.String> call() throws GitAPIException
GitCommand
call
in interface java.util.concurrent.Callable<java.util.Map<java.lang.String,java.lang.String>>
call
in class GitCommand<java.util.Map<java.lang.String,java.lang.String>>
GitAPIException
- or subclass thereof when an error occursCopyright © 2012. All Rights Reserved.