maven-scm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r885155 - /maven/scm/trunk/maven-scm-api/src/main/java/org/apache/maven/scm/ChangeSet.java
Date Sat, 28 Nov 2009 22:09:38 GMT
Author: olamy
Date: Sat Nov 28 22:09:38 2009
New Revision: 885155

URL: http://svn.apache.org/viewvc?rev=885155&view=rev
Log:
[SCM-512]  add field revision in ChangeSet bean

Modified:
    maven/scm/trunk/maven-scm-api/src/main/java/org/apache/maven/scm/ChangeSet.java

Modified: maven/scm/trunk/maven-scm-api/src/main/java/org/apache/maven/scm/ChangeSet.java
URL: http://svn.apache.org/viewvc/maven/scm/trunk/maven-scm-api/src/main/java/org/apache/maven/scm/ChangeSet.java?rev=885155&r1=885154&r2=885155&view=diff
==============================================================================
--- maven/scm/trunk/maven-scm-api/src/main/java/org/apache/maven/scm/ChangeSet.java (original)
+++ maven/scm/trunk/maven-scm-api/src/main/java/org/apache/maven/scm/ChangeSet.java Sat Nov
28 22:09:38 2009
@@ -113,6 +113,12 @@
      * List of ChangeFile
      */
     private List/*<ChangeFile>*/ files;
+    
+    /**
+     * The SCM revision id for this changeset.
+     * @since 1.3
+     */
+    private String revision;
 
     /**
      * @param strDate         Date the changes were committed
@@ -394,6 +400,25 @@
         return TIME_FORMAT.format( getDate() );
     }
 
+    /**
+     * @return
+     * @since 1.3
+     */
+    public String getRevision()
+    {
+        return revision;
+    }
+
+    /**
+     * @param revision
+     * @since 1.3
+     */
+    public void setRevision( String revision )
+    {
+        this.revision = revision;
+    }
+    
+    
     /** {@inheritDoc} */
     public String toString()
     {



Mime
View raw message