public class DiffCommitInfo extends Object
| Constructor and Description |
|---|
DiffCommitInfo() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getAMode()
变更前文件模式
|
String |
getBMode()
变更后文件模式
|
Boolean |
getDeletedFile()
此次变更是否删除文件
|
Boolean |
getDiff()
差异信息
|
Boolean |
getNewFile()
此次变更是否新增文件
|
String |
getNewPath()
变更后文件路径
|
String |
getOldPath()
变更前文件路径
|
Boolean |
getRenamedFile()
此次变更是否重命名文件
|
int |
hashCode() |
void |
setAMode(String aMode) |
void |
setBMode(String bMode) |
void |
setDeletedFile(Boolean deletedFile) |
void |
setDiff(Boolean diff) |
void |
setNewFile(Boolean newFile) |
void |
setNewPath(String newPath) |
void |
setOldPath(String oldPath) |
void |
setRenamedFile(Boolean renamedFile) |
String |
toString() |
DiffCommitInfo |
withAMode(String aMode) |
DiffCommitInfo |
withBMode(String bMode) |
DiffCommitInfo |
withDeletedFile(Boolean deletedFile) |
DiffCommitInfo |
withDiff(Boolean diff) |
DiffCommitInfo |
withNewFile(Boolean newFile) |
DiffCommitInfo |
withNewPath(String newPath) |
DiffCommitInfo |
withOldPath(String oldPath) |
DiffCommitInfo |
withRenamedFile(Boolean renamedFile) |
public DiffCommitInfo withOldPath(String oldPath)
public String getOldPath()
public void setOldPath(String oldPath)
public DiffCommitInfo withNewPath(String newPath)
public String getNewPath()
public void setNewPath(String newPath)
public DiffCommitInfo withAMode(String aMode)
public String getAMode()
public void setAMode(String aMode)
public DiffCommitInfo withBMode(String bMode)
public String getBMode()
public void setBMode(String bMode)
public DiffCommitInfo withNewFile(Boolean newFile)
public Boolean getNewFile()
public void setNewFile(Boolean newFile)
public DiffCommitInfo withRenamedFile(Boolean renamedFile)
public Boolean getRenamedFile()
public void setRenamedFile(Boolean renamedFile)
public DiffCommitInfo withDeletedFile(Boolean deletedFile)
public Boolean getDeletedFile()
public void setDeletedFile(Boolean deletedFile)
public DiffCommitInfo withDiff(Boolean diff)
public Boolean getDiff()
public void setDiff(Boolean diff)
Copyright © 2022. All rights reserved.