public class PatchScript extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PatchScript.DisplayMethod |
static class |
PatchScript.FileMode |
Modifier | Constructor and 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 id,
boolean idf,
boolean idt,
boolean bin,
String cma,
String cmb) |
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 id, boolean idf, boolean idt, boolean bin, String cma, String cmb)
protected PatchScript()
public Change.Key getChangeId()
public PatchScript.DisplayMethod getDisplayMethodA()
public PatchScript.DisplayMethod getDisplayMethodB()
public PatchScript.FileMode getFileModeA()
public PatchScript.FileMode getFileModeB()
public Patch.ChangeType getChangeType()
public String getOldName()
public String getNewName()
public CommentDetail getCommentDetail()
public DiffPreferencesInfo getDiffPrefs()
public void setDiffPrefs(DiffPreferencesInfo dp)
public boolean isHugeFile()
public boolean isIgnoreWhitespace()
public boolean hasIntralineDifference()
public boolean hasIntralineFailure()
public boolean hasIntralineTimeout()
public boolean isExpandAllComments()
public com.google.gerrit.prettify.common.SparseFileContent getA()
public com.google.gerrit.prettify.common.SparseFileContent getB()
public String getMimeTypeA()
public String getMimeTypeB()
public List<org.eclipse.jgit.diff.Edit> getEdits()
public Set<org.eclipse.jgit.diff.Edit> getEditsDueToRebase()
public boolean isBinary()
public String getCommitIdA()
public String getCommitIdB()