public enum VmOsType extends Enum<VmOsType>
Enum Constant and Description |
---|
Other |
OtherLinux |
RHEL3 |
RHEL3x64 |
RHEL4 |
RHEL4x64 |
RHEL5 |
RHEL5x64 |
RHEL6 |
RHEL6x64 |
Unassigned |
Windows2003 |
Windows2003x64 |
Windows2008 |
Windows2008R2x64 |
Windows2008x64 |
Windows7 |
Windows7x64 |
WindowsXP |
Modifier and Type | Method and Description |
---|---|
static VmOsType |
forValue(int value) |
boolean |
getIs64Bit() |
OsType |
getOsType() |
int |
getValue() |
boolean |
isLinux() |
boolean |
isWindows() |
static VmOsType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VmOsType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VmOsType Unassigned
public static final VmOsType WindowsXP
public static final VmOsType Windows2003
public static final VmOsType Windows2008
public static final VmOsType OtherLinux
public static final VmOsType Other
public static final VmOsType RHEL5
public static final VmOsType RHEL4
public static final VmOsType RHEL3
public static final VmOsType Windows2003x64
public static final VmOsType Windows7
public static final VmOsType Windows7x64
public static final VmOsType RHEL5x64
public static final VmOsType RHEL4x64
public static final VmOsType RHEL3x64
public static final VmOsType Windows2008x64
public static final VmOsType Windows2008R2x64
public static final VmOsType RHEL6
public static final VmOsType RHEL6x64
public static VmOsType[] values()
for (VmOsType c : VmOsType.values()) System.out.println(c);
public static VmOsType 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 boolean getIs64Bit()
public boolean isWindows()
public boolean isLinux()
public static VmOsType forValue(int value)
public OsType getOsType()
Copyright © 2012. All Rights Reserved.