public enum OsType extends Enum<OsType>
Enum Constant and Description |
---|
OTHER |
OTHER_LINUX |
RHEL_3 |
RHEL_3X64 |
RHEL_4 |
RHEL_4X64 |
RHEL_5 |
RHEL_5X64 |
RHEL_6 |
RHEL_6X64 |
UNASSIGNED |
WINDOWS_2003 |
WINDOWS_2003X64 |
WINDOWS_2008 |
WINDOWS_2008R2 |
WINDOWS_2008X64 |
WINDOWS_7 |
WINDOWS_7X64 |
WINDOWS_XP |
Modifier and Type | Method and Description |
---|---|
static OsType |
fromValue(String value) |
String |
value() |
static OsType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OsType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OsType UNASSIGNED
public static final OsType WINDOWS_XP
public static final OsType WINDOWS_2003
public static final OsType WINDOWS_2008
public static final OsType OTHER_LINUX
public static final OsType OTHER
public static final OsType RHEL_5
public static final OsType RHEL_4
public static final OsType RHEL_3
public static final OsType WINDOWS_2003X64
public static final OsType WINDOWS_7
public static final OsType WINDOWS_7X64
public static final OsType RHEL_5X64
public static final OsType RHEL_4X64
public static final OsType RHEL_3X64
public static final OsType WINDOWS_2008X64
public static final OsType WINDOWS_2008R2
public static final OsType RHEL_6
public static final OsType RHEL_6X64
public static OsType[] values()
for (OsType c : OsType.values()) System.out.println(c);
public static OsType 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()
Copyright © 2012. All Rights Reserved.