- java.lang.Object
-
- org.eclipse.jgit.submodule.SubmoduleStatus
-
public class SubmoduleStatus extends Object
Status class containing the type, path, and commit id of the submodule.
-
-
Constructor Summary
Constructors Constructor Description SubmoduleStatus(SubmoduleStatusType type, String path, ObjectId indexId)Create submodule statusSubmoduleStatus(SubmoduleStatusType type, String path, ObjectId indexId, ObjectId headId)Create submodule status
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectIdgetHeadId()Get HEAD object idObjectIdgetIndexId()Get index object idStringgetPath()Get submodule pathSubmoduleStatusTypegetType()Get type
-
-
-
Constructor Detail
-
SubmoduleStatus
public SubmoduleStatus(SubmoduleStatusType type, String path, ObjectId indexId)
Create submodule status- Parameters:
type- aSubmoduleStatusTypeobject.path- submodule pathindexId- anObjectIdobject.
-
SubmoduleStatus
public SubmoduleStatus(SubmoduleStatusType type, String path, ObjectId indexId, ObjectId headId)
Create submodule status- Parameters:
type- aSubmoduleStatusTypeobject.path- submodule pathindexId- index idheadId- head id
-
-
Method Detail
-
getType
public SubmoduleStatusType getType()
Get type- Returns:
- type
-
getPath
public String getPath()
Get submodule path- Returns:
- path submodule path
-
getIndexId
public ObjectId getIndexId()
Get index object id- Returns:
- index object id
-
getHeadId
public ObjectId getHeadId()
Get HEAD object id- Returns:
- HEAD object id
-
-