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 SubmoduleStatusgetStatus(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- aRepositoryobject.
-
-
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:
callin interfaceCallable<Map<String,SubmoduleStatus>> - Specified by:
callin classGitCommand<Map<String,SubmoduleStatus>> - Throws:
GitAPIException
-
getStatus
private SubmoduleStatus getStatus(SubmoduleWalk generator) throws IOException, ConfigInvalidException - Throws:
IOExceptionConfigInvalidException
-