Revision: 5577
          http://jnode.svn.sourceforge.net/jnode/?rev=5577&view=rev
Author:   fduminy
Date:     2009-06-16 22:17:14 +0000 (Tue, 16 Jun 2009)

Log Message:
-----------
added getVmType() to VMConfig interface

Modified Paths:
--------------
    trunk/core/src/test/org/jtestserver/client/process/VMConfig.java
    trunk/core/src/test/org/jtestserver/client/process/jvm/JVMConfig.java
    trunk/core/src/test/org/jtestserver/client/process/kvm/KVMConfig.java
    trunk/core/src/test/org/jtestserver/client/process/vmware/VMwareConfig.java

Modified: trunk/core/src/test/org/jtestserver/client/process/VMConfig.java
===================================================================
--- trunk/core/src/test/org/jtestserver/client/process/VMConfig.java    
2009-06-16 17:18:23 UTC (rev 5576)
+++ trunk/core/src/test/org/jtestserver/client/process/VMConfig.java    
2009-06-16 22:17:14 UTC (rev 5577)
@@ -39,4 +39,9 @@
      * @return a new instance of {...@link ServerProcess} for this VM.
      */
     ServerProcess createServerProcess();
+
+    /**
+     * @return The type of the VM.
+     */
+    String getVmType();
 }

Modified: trunk/core/src/test/org/jtestserver/client/process/jvm/JVMConfig.java
===================================================================
--- trunk/core/src/test/org/jtestserver/client/process/jvm/JVMConfig.java       
2009-06-16 17:18:23 UTC (rev 5576)
+++ trunk/core/src/test/org/jtestserver/client/process/jvm/JVMConfig.java       
2009-06-16 22:17:14 UTC (rev 5577)
@@ -100,6 +100,14 @@
     }
 
     /**
+     * {...@inheritdoc}
+     */
+    @Override
+    public String getVmType() {
+        return "JVM";
+    }
+
+    /**
      * @param vmName
      */
     void setVmName(String vmName) {

Modified: trunk/core/src/test/org/jtestserver/client/process/kvm/KVMConfig.java
===================================================================
--- trunk/core/src/test/org/jtestserver/client/process/kvm/KVMConfig.java       
2009-06-16 17:18:23 UTC (rev 5576)
+++ trunk/core/src/test/org/jtestserver/client/process/kvm/KVMConfig.java       
2009-06-16 22:17:14 UTC (rev 5577)
@@ -116,6 +116,14 @@
     }
 
     /**
+     * {...@inheritdoc}
+     */
+    @Override
+    public String getVmType() {
+        return "KVM";
+    }
+    
+    /**
      * @param vmName name of the VM
      */
     void setVmName(String vmName) {

Modified: 
trunk/core/src/test/org/jtestserver/client/process/vmware/VMwareConfig.java
===================================================================
--- trunk/core/src/test/org/jtestserver/client/process/vmware/VMwareConfig.java 
2009-06-16 17:18:23 UTC (rev 5576)
+++ trunk/core/src/test/org/jtestserver/client/process/vmware/VMwareConfig.java 
2009-06-16 22:17:14 UTC (rev 5577)
@@ -100,11 +100,19 @@
     public String getVmName() {
         return vmName;
     }
-    
+
     /**
      * {...@inheritdoc}
      */
     @Override
+    public String getVmType() {
+        return "VMware";
+    }
+
+    /**
+     * {...@inheritdoc}
+     */
+    @Override
     public VMwareServerProcess createServerProcess() {
         return new VMwareServerProcess(this);
     }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Jnode-svn-commits mailing list
Jnode-svn-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jnode-svn-commits

Reply via email to