incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ey...@apache.org
Subject svn commit: r1176108 - /incubator/ambari/trunk/client/src/main/java/org/apache/ambari/common/rest/entities/agent/ServerStatus.java
Date Mon, 26 Sep 2011 22:43:54 GMT
Author: eyang
Date: Mon Sep 26 22:43:54 2011
New Revision: 1176108

URL: http://svn.apache.org/viewvc?rev=1176108&view=rev
Log:
AMBARI-12.  Added transition state STARTING, STOPPING. (Eric Yang)

Modified:
    incubator/ambari/trunk/client/src/main/java/org/apache/ambari/common/rest/entities/agent/ServerStatus.java

Modified: incubator/ambari/trunk/client/src/main/java/org/apache/ambari/common/rest/entities/agent/ServerStatus.java
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/client/src/main/java/org/apache/ambari/common/rest/entities/agent/ServerStatus.java?rev=1176108&r1=1176107&r2=1176108&view=diff
==============================================================================
--- incubator/ambari/trunk/client/src/main/java/org/apache/ambari/common/rest/entities/agent/ServerStatus.java
(original)
+++ incubator/ambari/trunk/client/src/main/java/org/apache/ambari/common/rest/entities/agent/ServerStatus.java
Mon Sep 26 22:43:54 2011
@@ -56,7 +56,7 @@ public class ServerStatus {
   }
   
   public static enum State {
-    START, STARTED, STOP, STOPPED;
+    START, STARTING, STARTED, STOP, STOPPING, STOPPED;
     public static class ServerStateAdaptor extends XmlAdapter<String, State> {
       @Override
       public String marshal(State obj) throws Exception {



Mime
View raw message