public class SubmoduleInitCommand extends GitCommand<java.util.Collection<java.lang.String>>
repo
Constructor and Description |
---|
SubmoduleInitCommand(Repository repo) |
Modifier and Type | Method and Description |
---|---|
SubmoduleInitCommand |
addPath(java.lang.String path)
Add repository-relative submodule path to initialize
|
java.util.Collection<java.lang.String> |
call()
Executes the command
|
checkCallable, getRepository, setCallable
public SubmoduleInitCommand(Repository repo)
repo
- public SubmoduleInitCommand addPath(java.lang.String path)
path
- public java.util.Collection<java.lang.String> call() throws GitAPIException
GitCommand
call
in interface java.util.concurrent.Callable<java.util.Collection<java.lang.String>>
call
in class GitCommand<java.util.Collection<java.lang.String>>
GitAPIException
- or subclass thereof when an error occursCopyright © 2012. All Rights Reserved.