public class SubmoduleInitCommand extends GitCommand<Collection<String>>
repo| Constructor and Description |
|---|
SubmoduleInitCommand(Repository repo) |
| Modifier and Type | Method and Description |
|---|---|
SubmoduleInitCommand |
addPath(String path)
Add repository-relative submodule path to initialize
|
Collection<String> |
call()
Executes the command
|
checkCallable, getRepository, setCallablepublic SubmoduleInitCommand(Repository repo)
repo - public SubmoduleInitCommand addPath(String path)
path - (with / as separator)public Collection<String> call() throws GitAPIException
GitCommandcall in interface Callable<Collection<String>>call in class GitCommand<Collection<String>>GitAPIException - or subclass thereof when an error occursCopyright © 2014. All rights reserved.