Package org.eclipse.jgit.submodule
Class SubmoduleStatus
- 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 ObjectId
getHeadId()
ObjectId
getIndexId()
String
getPath()
SubmoduleStatusType
getType()
-
-
-
Constructor Detail
-
SubmoduleStatus
public SubmoduleStatus(SubmoduleStatusType type, String path, ObjectId indexId)
Create submodule status- Parameters:
type
-path
-indexId
-
-
SubmoduleStatus
public SubmoduleStatus(SubmoduleStatusType type, String path, ObjectId indexId, ObjectId headId)
Create submodule status- Parameters:
type
-path
-indexId
-headId
-
-
-
Method Detail
-
getType
public SubmoduleStatusType getType()
- Returns:
- type
-
getPath
public String getPath()
- Returns:
- path
-
getIndexId
public ObjectId getIndexId()
- Returns:
- index object id
-
getHeadId
public ObjectId getHeadId()
- Returns:
- HEAD object id
-
-