[jboss-cvs] JBossAS SVN: r86750 - branches/Branch_5_x/profileservice/src/main/org/jboss/profileservice/management/upload.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Apr 3 10:47:12 EDT 2009


Author: emuckenhuber
Date: 2009-04-03 10:47:12 -0400 (Fri, 03 Apr 2009)
New Revision: 86750

Modified:
   branches/Branch_5_x/profileservice/src/main/org/jboss/profileservice/management/upload/DeploymentProgressImpl.java
Log:
[JBAS-6701] fix isRunning part 2

Modified: branches/Branch_5_x/profileservice/src/main/org/jboss/profileservice/management/upload/DeploymentProgressImpl.java
===================================================================
--- branches/Branch_5_x/profileservice/src/main/org/jboss/profileservice/management/upload/DeploymentProgressImpl.java	2009-04-03 14:44:51 UTC (rev 86749)
+++ branches/Branch_5_x/profileservice/src/main/org/jboss/profileservice/management/upload/DeploymentProgressImpl.java	2009-04-03 14:47:12 UTC (rev 86750)
@@ -146,6 +146,7 @@
    {
       SerializableDeploymentStatus status = new SerializableDeploymentStatus(command, StateType.DEPLOYING);
       status.setMessage("Running distribute to: "+targets);
+      status.setRunning(true);
       currentStatus = status;
       ProgressEvent event =  new ProgressEvent(deployment, currentStatus);
       notify(event);
@@ -166,6 +167,7 @@
             // TODO, percent complete info in upload and overall distribute
             status = new SerializableDeploymentStatus(command, StateType.UPLOADING);
             status.setTarget(target);
+            status.setRunning(true);
             status.setMessage("Begining distribute to target: "+target);
             currentStatus = status;
             event =  new ProgressEvent(deployment, currentStatus);
@@ -208,6 +210,7 @@
    {
       SerializableDeploymentStatus status = new SerializableDeploymentStatus(command, StateType.RUNNING);
       status.setMessage("Running start to: "+targets);
+      status.setRunning(true);
       currentStatus = status;
       ProgressEvent event =  new ProgressEvent(deployment, currentStatus);
       notify(event);
@@ -252,6 +255,7 @@
    {
       SerializableDeploymentStatus status = new SerializableDeploymentStatus(command, StateType.RUNNING);
       status.setMessage("Running stop to: "+targets);
+      status.setRunning(true);
       currentStatus = status;
       ProgressEvent event =  new ProgressEvent(deployment, currentStatus);
       notify(event);
@@ -296,6 +300,7 @@
    {
       SerializableDeploymentStatus status = new SerializableDeploymentStatus(command, StateType.RUNNING);
       status.setMessage("Running undeploy to: "+targets);
+      status.setRunning(true);
       currentStatus = status;
       ProgressEvent event =  new ProgressEvent(deployment, currentStatus);
       notify(event);
@@ -340,6 +345,7 @@
    {
       SerializableDeploymentStatus status = new SerializableDeploymentStatus(command, StateType.RUNNING);
       status.setMessage("Running redeploy to: "+targets);
+      status.setRunning(true);
       currentStatus = status;
       ProgressEvent event =  new ProgressEvent(deployment, currentStatus);
       notify(event);
@@ -384,6 +390,7 @@
    {
       SerializableDeploymentStatus status = new SerializableDeploymentStatus(command, StateType.RUNNING);
       status.setMessage("Running prepare to: "+targets);
+      status.setRunning(true);
       currentStatus = status;
       ProgressEvent event =  new ProgressEvent(deployment, currentStatus);
       notify(event);




More information about the jboss-cvs-commits mailing list