|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jgit.api.GitCommand<java.util.Collection<java.lang.String>>
org.eclipse.jgit.api.SubmoduleInitCommand
public class SubmoduleInitCommand
A class used to execute a submodule init command. This will copy the 'url' and 'update' fields from the working tree .gitmodules file to a repository's config file for each submodule not currently present in the repository's config file.
Field Summary |
---|
Fields inherited from class org.eclipse.jgit.api.GitCommand |
---|
repo |
Constructor Summary | |
---|---|
SubmoduleInitCommand(Repository repo)
|
Method Summary | |
---|---|
SubmoduleInitCommand |
addPath(java.lang.String path)
Add repository-relative submodule path to initialize |
java.util.Collection<java.lang.String> |
call()
Executes the command |
Methods inherited from class org.eclipse.jgit.api.GitCommand |
---|
checkCallable, getRepository, setCallable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SubmoduleInitCommand(Repository repo)
repo
- Method Detail |
---|
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 occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |