aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschristou882012-07-31 00:33:01 (EDT)
committerschristou882012-07-31 00:33:01 (EDT)
commitcbcc37139bd4a77d2789a119ac326759b33a31fc (patch)
tree3f7c92e942472109b2bc1597d0257f01e1750aeb
parent6476d12b8353ffcfd529c430cbf504891b57c002 (diff)
downloadorg.eclipse.hudson.core-cbcc37139bd4a77d2789a119ac326759b33a31fc.zip
org.eclipse.hudson.core-cbcc37139bd4a77d2789a119ac326759b33a31fc.tar.gz
org.eclipse.hudson.core-cbcc37139bd4a77d2789a119ac326759b33a31fc.tar.bz2
Added method for jira pluginrefs/changes/24/7024/1
-rw-r--r--hudson-core/src/main/java/hudson/scm/ChangeLogSet.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/hudson-core/src/main/java/hudson/scm/ChangeLogSet.java b/hudson-core/src/main/java/hudson/scm/ChangeLogSet.java
index 05ae37c..2f43950 100644
--- a/hudson-core/src/main/java/hudson/scm/ChangeLogSet.java
+++ b/hudson-core/src/main/java/hudson/scm/ChangeLogSet.java
@@ -166,6 +166,16 @@ public abstract class ChangeLogSet<T extends ChangeLogSet.Entry> implements Iter
public String getMsgEscaped() {
return Util.escape(getMsg());
}
+
+ /**
+ * Return a form of commit identification either an ID, name or identity.
+ *
+ * @return String A commit ID.
+ */
+ @Exported
+ public String getCommitId() {
+ return null;
+ }
/**
* {@inheritDoc}