Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/CommitComment.java54
1 files changed, 54 insertions, 0 deletions
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/CommitComment.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/CommitComment.java
index bf9cc067..90e7c994 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/CommitComment.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/CommitComment.java
@@ -22,10 +22,16 @@ public class CommitComment extends Comment {
private int position;
+ private int originalPosition;
+
private String commitId;
+ private String originalCommitId;
+
private String path;
+ private String diffHunk;
+
/**
* @return line
*/
@@ -59,6 +65,22 @@ public class CommitComment extends Comment {
}
/**
+ * @return originalPosition
+ */
+ public int getOriginalPosition() {
+ return originalPosition;
+ }
+
+ /**
+ * @param originalPosition
+ * @return this commit comment
+ */
+ public CommitComment setOriginalPosition(int originalPosition) {
+ this.originalPosition = originalPosition;
+ return this;
+ }
+
+ /**
* @return commitId
*/
public String getCommitId() {
@@ -75,6 +97,22 @@ public class CommitComment extends Comment {
}
/**
+ * @return originalCommitId
+ */
+ public String getOriginalCommitId() {
+ return originalCommitId;
+ }
+
+ /**
+ * @param originalCommitId
+ * @return this commit comment
+ */
+ public CommitComment setOriginalCommitId(String originalCommitId) {
+ this.originalCommitId = originalCommitId;
+ return this;
+ }
+
+ /**
* @return path
*/
public String getPath() {
@@ -89,4 +127,20 @@ public class CommitComment extends Comment {
this.path = path;
return this;
}
+
+ /**
+ * @return diffHunk
+ */
+ public String getDiffHunk() {
+ return diffHunk;
+ }
+
+ /**
+ * @param diffHunk
+ * @return this commit comment
+ */
+ public CommitComment setDiffHunk(String diffHunk) {
+ this.diffHunk = diffHunk;
+ return this;
+ }
}

Back to the top