public class SubmoduleInitCommand extends GitCommand<Collection<String>>
repo| Constructor and Description |
|---|
SubmoduleInitCommand(Repository repo)
Constructor for SubmoduleInitCommand.
|
| Modifier and Type | Method and Description |
|---|---|
SubmoduleInitCommand |
addPath(String path)
Add repository-relative submodule path to initialize
|
Collection<String> |
call() |
checkCallable, getRepository, setCallablepublic SubmoduleInitCommand(Repository repo)
repo - a Repository object.public SubmoduleInitCommand addPath(String path)
path - (with / as separator)public Collection<String> call() throws GitAPIException
Execute the command
call in interface Callable<Collection<String>>call in class GitCommand<Collection<String>>GitAPIExceptionCopyright © 2018 Eclipse JGit Project. All rights reserved.