public enum OriginType extends Enum<OriginType>
Modifier and Type | Method and Description |
---|---|
static OriginType |
forValue(int value) |
int |
getValue() |
static OriginType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OriginType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OriginType RHEV
public static final OriginType VMWARE
public static final OriginType XEN
public static final OriginType OVIRT
public static OriginType[] values()
for (OriginType c : OriginType.values()) System.out.println(c);
public static OriginType 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 int getValue()
public static OriginType forValue(int value)
Copyright © 2012. All Rights Reserved.