Package com.google.gerrit.common.data
Class PatchScript
- java.lang.Object
-
- com.google.gerrit.common.data.PatchScript
-
public class PatchScript extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PatchScript.DisplayMethod
static class
PatchScript.FileMode
-
Constructor Summary
Constructors Modifier Constructor Description protected
PatchScript()
PatchScript(Change.Key ck, Patch.ChangeType ct, String on, String nn, PatchScript.FileMode om, PatchScript.FileMode nm, List<String> h, DiffPreferencesInfo dp, com.google.gerrit.prettify.common.SparseFileContent ca, com.google.gerrit.prettify.common.SparseFileContent cb, List<org.eclipse.jgit.diff.Edit> e, Set<org.eclipse.jgit.diff.Edit> editsDueToRebase, PatchScript.DisplayMethod ma, PatchScript.DisplayMethod mb, String mta, String mtb, CommentDetail cd, List<Patch> hist, boolean hf, boolean idf, boolean idt, boolean bin, String cma, String cmb)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gerrit.prettify.common.SparseFileContent
getA()
com.google.gerrit.prettify.common.SparseFileContent
getB()
Change.Key
getChangeId()
Patch.ChangeType
getChangeType()
CommentDetail
getCommentDetail()
String
getCommitIdA()
String
getCommitIdB()
DiffPreferencesInfo
getDiffPrefs()
PatchScript.DisplayMethod
getDisplayMethodA()
PatchScript.DisplayMethod
getDisplayMethodB()
List<org.eclipse.jgit.diff.Edit>
getEdits()
Set<org.eclipse.jgit.diff.Edit>
getEditsDueToRebase()
PatchScript.FileMode
getFileModeA()
PatchScript.FileMode
getFileModeB()
List<Patch>
getHistory()
String
getMimeTypeA()
String
getMimeTypeB()
String
getNewName()
String
getOldName()
List<String>
getPatchHeader()
boolean
hasIntralineFailure()
boolean
hasIntralineTimeout()
boolean
isBinary()
boolean
isExpandAllComments()
boolean
isHugeFile()
boolean
isIgnoreWhitespace()
void
setDiffPrefs(DiffPreferencesInfo dp)
-
-
-
Constructor Detail
-
PatchScript
public PatchScript(Change.Key ck, Patch.ChangeType ct, String on, String nn, PatchScript.FileMode om, PatchScript.FileMode nm, List<String> h, DiffPreferencesInfo dp, com.google.gerrit.prettify.common.SparseFileContent ca, com.google.gerrit.prettify.common.SparseFileContent cb, List<org.eclipse.jgit.diff.Edit> e, Set<org.eclipse.jgit.diff.Edit> editsDueToRebase, PatchScript.DisplayMethod ma, PatchScript.DisplayMethod mb, String mta, String mtb, CommentDetail cd, List<Patch> hist, boolean hf, boolean idf, boolean idt, boolean bin, String cma, String cmb)
-
PatchScript
protected PatchScript()
-
-
Method Detail
-
getChangeId
public Change.Key getChangeId()
-
getDisplayMethodA
public PatchScript.DisplayMethod getDisplayMethodA()
-
getDisplayMethodB
public PatchScript.DisplayMethod getDisplayMethodB()
-
getFileModeA
public PatchScript.FileMode getFileModeA()
-
getFileModeB
public PatchScript.FileMode getFileModeB()
-
getChangeType
public Patch.ChangeType getChangeType()
-
getOldName
public String getOldName()
-
getNewName
public String getNewName()
-
getCommentDetail
public CommentDetail getCommentDetail()
-
getDiffPrefs
public DiffPreferencesInfo getDiffPrefs()
-
setDiffPrefs
public void setDiffPrefs(DiffPreferencesInfo dp)
-
isHugeFile
public boolean isHugeFile()
-
isIgnoreWhitespace
public boolean isIgnoreWhitespace()
-
hasIntralineFailure
public boolean hasIntralineFailure()
-
hasIntralineTimeout
public boolean hasIntralineTimeout()
-
isExpandAllComments
public boolean isExpandAllComments()
-
getA
public com.google.gerrit.prettify.common.SparseFileContent getA()
-
getB
public com.google.gerrit.prettify.common.SparseFileContent getB()
-
getMimeTypeA
public String getMimeTypeA()
-
getMimeTypeB
public String getMimeTypeB()
-
getEdits
public List<org.eclipse.jgit.diff.Edit> getEdits()
-
getEditsDueToRebase
public Set<org.eclipse.jgit.diff.Edit> getEditsDueToRebase()
-
isBinary
public boolean isBinary()
-
getCommitIdA
public String getCommitIdA()
-
getCommitIdB
public String getCommitIdB()
-
-