org.inria.myriads.snoozecommon.communication.localcontroller.hypervisor
Enum HypervisorDriver

java.lang.Object
  extended by java.lang.Enum<HypervisorDriver>
      extended by org.inria.myriads.snoozecommon.communication.localcontroller.hypervisor.HypervisorDriver
All Implemented Interfaces:
Serializable, Comparable<HypervisorDriver>

public enum HypervisorDriver
extends Enum<HypervisorDriver>

List of supported drivers by libvirt.

Author:
Eugen Feller

Enum Constant Summary
esx
          VMware ESX.
lxc
          Lxc.
openvz
          OpenVZ.
qemu
          QEMU/KVM.
test
          Test.
uml
          Uml.
vbox
          Vbox.
xen
          Xen.
 
Method Summary
static HypervisorDriver valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HypervisorDriver[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

test

public static final HypervisorDriver test
Test.


xen

public static final HypervisorDriver xen
Xen.


uml

public static final HypervisorDriver uml
Uml.


lxc

public static final HypervisorDriver lxc
Lxc.


vbox

public static final HypervisorDriver vbox
Vbox.


openvz

public static final HypervisorDriver openvz
OpenVZ.


qemu

public static final HypervisorDriver qemu
QEMU/KVM.


esx

public static final HypervisorDriver esx
VMware ESX.

Method Detail

values

public static HypervisorDriver[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (HypervisorDriver c : HypervisorDriver.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static HypervisorDriver valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2012. All Rights Reserved.