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, setCallable
public SubmoduleInitCommand(Repository repo)
repo
- public SubmoduleInitCommand addPath(String path)
path
- (with /
as separator)public Collection<String> call() throws GitAPIException
GitCommand
call
in interface Callable<Collection<String>>
call
in class GitCommand<Collection<String>>
GitAPIException
- or subclass thereof when an error occursCopyright © 2018. All rights reserved.