public static enum PackageDescriptor.OS extends java.lang.Enum<PackageDescriptor.OS>
Modifier and Type | Method and Description |
---|---|
static PackageDescriptor.OS |
fromString(java.lang.String curPackageOS) |
java.lang.String |
getName() |
boolean |
isUsable() |
static PackageDescriptor.OS |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PackageDescriptor.OS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PackageDescriptor.OS WIN64
public static final PackageDescriptor.OS WIN32
public static final PackageDescriptor.OS LIN32
public static final PackageDescriptor.OS LIN64
public static final PackageDescriptor.OS MAC
public static final PackageDescriptor.OS ALL
public static PackageDescriptor.OS[] values()
for (PackageDescriptor.OS c : PackageDescriptor.OS.values()) System.out.println(c);
public static PackageDescriptor.OS valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
public static PackageDescriptor.OS fromString(java.lang.String curPackageOS)
public boolean isUsable()