You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sa...@apache.org on 2011/12/17 11:34:32 UTC

svn commit: r1215451 - /incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java

Author: samindaw
Date: Sat Dec 17 10:34:32 2011
New Revision: 1215451

URL: http://svn.apache.org/viewvc?rev=1215451&view=rev
Log:
on cleanup set execution as stopped

Modified:
    incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java?rev=1215451&r1=1215450&r2=1215451&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java (original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java Sat Dec 17 10:34:32 2011
@@ -46,6 +46,7 @@ import org.apache.airavata.common.utils.
 import org.apache.airavata.xbaya.XBayaConfiguration;
 import org.apache.airavata.xbaya.XBayaEngine;
 import org.apache.airavata.xbaya.XBayaException;
+import org.apache.airavata.xbaya.XBayaExecutionState;
 import org.apache.airavata.xbaya.XBayaRuntimeException;
 import org.apache.airavata.xbaya.amazonEC2.gui.AmazonCredential;
 import org.apache.airavata.xbaya.component.Component;
@@ -462,11 +463,11 @@ public class WorkflowInterpreter {
 		}
 	}
 
-	/**
-	 * @throws MonitorException
-	 */
-	public void cleanup() throws MonitorException {
-		this.workflow.setExecutionState(XBayaExecutionState.NONE);
+    /**
+     * @throws MonitorException
+     */
+    public void cleanup() throws MonitorException {
+        this.workflow.setExecutionState(XBayaExecutionState.STOPPED);
 		if (this.mode == GUI_MODE) {
 			this.engine.resetWorkflowInterpreter();
 			try {