Package 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>>
A class used to execute a submodule status command.
- See Also:
-
Field Summary
FieldsFields inherited from class org.eclipse.jgit.api.GitCommand
repo
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor for SubmoduleStatusCommand. -
Method Summary
Modifier and TypeMethodDescriptionAdd repository-relative submodule path to limit status reporting tocall()
private SubmoduleStatus
getStatus
(SubmoduleWalk generator) Methods inherited from class org.eclipse.jgit.api.GitCommand
checkCallable, getRepository, setCallable
-
Field Details
-
paths
-
-
Constructor Details
-
SubmoduleStatusCommand
Constructor for SubmoduleStatusCommand.- Parameters:
repo
- aRepository
object.
-
-
Method Details
-
addPath
Add repository-relative submodule path to limit status reporting to- Parameters:
path
- (with/
as separator)- Returns:
- this command
-
call
Execute the command
- Specified by:
call
in interfaceCallable<Map<String,
SubmoduleStatus>> - Specified by:
call
in classGitCommand<Map<String,
SubmoduleStatus>> - Throws:
GitAPIException
-
getStatus
private SubmoduleStatus getStatus(SubmoduleWalk generator) throws IOException, ConfigInvalidException - Throws:
IOException
ConfigInvalidException
-