public enum Hypervisor extends Enum<Hypervisor>
Enum Constant and Description |
---|
OVM
Oracle VM Server
|
UNRECOGNIZED |
XEN |
Modifier and Type | Method and Description |
---|---|
static Hypervisor |
fromValue(String v) |
String |
toString() |
String |
value() |
static Hypervisor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Hypervisor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Hypervisor XEN
public static final Hypervisor OVM
public static final Hypervisor UNRECOGNIZED
public static Hypervisor[] values()
for (Hypervisor c : Hypervisor.values()) System.out.println(c);
public static Hypervisor valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String value()
public String toString()
toString
in class Enum<Hypervisor>
public static Hypervisor fromValue(String v)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.