org.eclipse.jgit.api
Class SubmoduleStatusCommand
java.lang.Object
org.eclipse.jgit.api.GitCommand<Map<String,SubmoduleStatus>>
org.eclipse.jgit.api.SubmoduleStatusCommand
- All Implemented Interfaces:
- Callable<Map<String,SubmoduleStatus>>
public class SubmoduleStatusCommand
- extends GitCommand<Map<String,SubmoduleStatus>>
A class used to execute a submodule status command.
- See Also:
- Git documentation about submodules
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubmoduleStatusCommand
public SubmoduleStatusCommand(Repository repo)
- Parameters:
repo -
addPath
public SubmoduleStatusCommand addPath(String path)
- Add repository-relative submodule path to limit status reporting to
- Parameters:
path -
- Returns:
- this command
call
public Map<String,SubmoduleStatus> call()
throws JGitInternalException
- Throws:
JGitInternalException
Copyright © 2011. All Rights Reserved.