Package org.jclouds.ec2.domain
Enum Hypervisor
- java.lang.Object
- 
- java.lang.Enum<Hypervisor>
- 
- org.jclouds.ec2.domain.Hypervisor
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<Hypervisor>
 
 public enum Hypervisor extends Enum<Hypervisor> Hypervisor of the image.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description OVMOracle VM ServerUNRECOGNIZEDXEN
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HypervisorfromValue(String v)StringtoString()Stringvalue()static HypervisorvalueOf(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.
 
- 
- 
- 
Enum Constant Detail- 
XENpublic static final Hypervisor XEN 
 - 
OVMpublic static final Hypervisor OVM Oracle VM Server
 - 
UNRECOGNIZEDpublic static final Hypervisor UNRECOGNIZED 
 
- 
 - 
Method Detail- 
valuespublic static Hypervisor[] 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 (Hypervisor c : Hypervisor.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static Hypervisor 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
 
 - 
valuepublic String value() 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- Enum<Hypervisor>
 
 - 
fromValuepublic static Hypervisor fromValue(String v) 
 
- 
 
-