public class SubmoduleStatus
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private ObjectId |
headId |
private ObjectId |
indexId |
private java.lang.String |
path |
private SubmoduleStatusType |
type |
| Constructor and Description |
|---|
SubmoduleStatus(SubmoduleStatusType type,
java.lang.String path,
ObjectId indexId)
Create submodule status
|
SubmoduleStatus(SubmoduleStatusType type,
java.lang.String path,
ObjectId indexId,
ObjectId headId)
Create submodule status
|
| Modifier and Type | Method and Description |
|---|---|
ObjectId |
getHeadId()
Get HEAD object id
|
ObjectId |
getIndexId()
Get index object id
|
java.lang.String |
getPath()
Get submodule path
|
SubmoduleStatusType |
getType()
Get type
|
private final SubmoduleStatusType type
private final java.lang.String path
private final ObjectId indexId
private final ObjectId headId
public SubmoduleStatus(SubmoduleStatusType type, java.lang.String path, ObjectId indexId)
type - a SubmoduleStatusType
object.path - submodule pathindexId - an ObjectId object.public SubmoduleStatus(SubmoduleStatusType type, java.lang.String path, ObjectId indexId, ObjectId headId)
type - a SubmoduleStatusType
object.path - submodule pathindexId - index idheadId - head idpublic SubmoduleStatusType getType()
public java.lang.String getPath()
public ObjectId getIndexId()
public ObjectId getHeadId()