public class SubmoduleStatus extends Object
Constructor and Description |
---|
SubmoduleStatus(SubmoduleStatusType type,
String path,
ObjectId indexId)
Create submodule status
|
SubmoduleStatus(SubmoduleStatusType type,
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
|
String |
getPath()
Get submodule path
|
SubmoduleStatusType |
getType()
Get type
|
public SubmoduleStatus(SubmoduleStatusType type, String path, ObjectId indexId)
type
- a SubmoduleStatusType
object.path
- submodule pathindexId
- an ObjectId
object.public SubmoduleStatus(SubmoduleStatusType type, String path, ObjectId indexId, ObjectId headId)
type
- a SubmoduleStatusType
object.path
- submodule pathindexId
- index idheadId
- head idpublic SubmoduleStatusType getType()
public String getPath()
public ObjectId getIndexId()
public ObjectId getHeadId()
Copyright © 2017 Eclipse JGit Project. All rights reserved.