Package org.eclipse.jgit.submodule
Class SubmoduleStatus
java.lang.Object
org.eclipse.jgit.submodule.SubmoduleStatus
Status class containing the type, path, and commit id of the submodule.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSubmoduleStatus
(SubmoduleStatusType type, String path, ObjectId indexId) Create submodule statusSubmoduleStatus
(SubmoduleStatusType type, String path, ObjectId indexId, ObjectId headId) Create submodule status -
Method Summary
-
Field Details
-
type
-
path
-
indexId
-
headId
-
-
Constructor Details
-
SubmoduleStatus
Create submodule status- Parameters:
type
- aSubmoduleStatusType
object.path
- submodule pathindexId
- anObjectId
object.
-
SubmoduleStatus
Create submodule status- Parameters:
type
- aSubmoduleStatusType
object.path
- submodule pathindexId
- index idheadId
- head id
-
-
Method Details
-
getType
Get type- Returns:
- type
-
getPath
Get submodule path- Returns:
- path submodule path
-
getIndexId
Get index object id- Returns:
- index object id
-
getHeadId
Get HEAD object id- Returns:
- HEAD object id
-