Enum PackageDescriptor.OS
- java.lang.Object
-
- java.lang.Enum<PackageDescriptor.OS>
-
- org.processmining.framework.packages.PackageDescriptor.OS
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PackageDescriptor.OS>
- Enclosing class:
- PackageDescriptor
public static enum PackageDescriptor.OS extends java.lang.Enum<PackageDescriptor.OS>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
WIN64
public static final PackageDescriptor.OS WIN64
-
WIN32
public static final PackageDescriptor.OS WIN32
-
LIN32
public static final PackageDescriptor.OS LIN32
-
LIN64
public static final PackageDescriptor.OS LIN64
-
MAC
public static final PackageDescriptor.OS MAC
-
ALL
public static final PackageDescriptor.OS ALL
-
-
Method Detail
-
values
public static PackageDescriptor.OS[] 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 (PackageDescriptor.OS c : PackageDescriptor.OS.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PackageDescriptor.OS valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getName
public java.lang.String getName()
-
fromString
public static PackageDescriptor.OS fromString(java.lang.String curPackageOS)
-
isUsable
public boolean isUsable()
-
-