continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jzurb...@apache.org
Subject svn commit: r793445 - /continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ReleaseInProgressAction.java
Date Mon, 13 Jul 2009 02:32:54 GMT
Author: jzurbano
Date: Mon Jul 13 02:32:54 2009
New Revision: 793445

URL: http://svn.apache.org/viewvc?rev=793445&view=rev
Log:
[CONTINUUM-2290] - Values of Project Name and Triggered By of the Project Release Summary
page when View Output link is clicked. merge r 793443:793444 from 1.3.x branch

Modified:
    continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ReleaseInProgressAction.java

Modified: continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ReleaseInProgressAction.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ReleaseInProgressAction.java?rev=793445&r1=793444&r2=793445&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ReleaseInProgressAction.java
(original)
+++ continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ReleaseInProgressAction.java
Mon Jul 13 02:32:54 2009
@@ -218,6 +218,8 @@
                     listenerSummary.setCompletedPhases( DistributedReleaseUtil.getCompletedReleasePhases(
map ) );
                     listenerSummary.setInProgress( DistributedReleaseUtil.getReleaseInProgress(
map ) );
                     listenerSummary.setError( DistributedReleaseUtil.getReleaseError( map
) );
+                    
+                    username = DistributedReleaseUtil.getUsername( map );
     
                     if ( state == ContinuumReleaseManagerListener.FINISHED )
                     {
@@ -256,6 +258,8 @@
                 listenerSummary.setCompletedPhases( listener.getCompletedPhases() );
                 listenerSummary.setInProgress( listener.getInProgress() );
                 listenerSummary.setError( listener.getError() );
+                
+                username = listener.getUsername();
 
                 if ( listener.getState() == ContinuumReleaseManagerListener.FINISHED )
                 {
@@ -382,5 +386,16 @@
 
         return releaseResult;
     }
+    
+    public String getProjectName()
+        throws ContinuumException
+    {
+        return getProjectGroupName();
+    }
+    
+    public String getUsername()
+    {
+        return this.username;
+    }
 
 }



Mime
View raw message