Callable<Collection<String>>public class SubmoduleInitCommand extends GitCommand<Collection<String>>
repo| Constructor | Description |
|---|---|
SubmoduleInitCommand(Repository repo) |
| Modifier and Type | Method | 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 © 2018. All rights reserved.