Added missing test case.
[utils] / system / general / src / main / java / org / wamblee / system / Component.java
index 6a31e01d61748002d63a435ac0da55f56ca66733..afbed94cd677fb04e8e049cddd25d3e53132b756 100644 (file)
@@ -8,6 +8,16 @@ package org.wamblee.system;
  */
 public interface Component {
        
+       enum Status { 
+               NOT_STARTED, RUNNING, STOPPED
+       }
+       
+       /**
+        * Gets the status of the component. 
+        * @return Status. 
+        */
+       Status getStatus();
+       
        /**
         * Gets the name of the subsystem.
         * @return Subsystem name.