Enum Platform.OperatingSystem
- java.lang.Object
-
- java.lang.Enum<Platform.OperatingSystem>
-
- com.inductiveautomation.ignition.common.util.Platform.OperatingSystem
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Platform.OperatingSystem>
- Enclosing class:
- Platform
public static enum Platform.OperatingSystem extends java.lang.Enum<Platform.OperatingSystem>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Platform.OperatingSystem
fromString(java.lang.String s)
java.lang.String[]
getSignatures()
Signature strings that if System.getProperty("os.name") contain any of indicates a match.static Platform.OperatingSystem
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Platform.OperatingSystem[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Windows
public static final Platform.OperatingSystem Windows
-
Linux
public static final Platform.OperatingSystem Linux
-
OSX
public static final Platform.OperatingSystem OSX
-
HPUX
public static final Platform.OperatingSystem HPUX
-
Unknown
public static final Platform.OperatingSystem Unknown
-
-
Method Detail
-
values
public static Platform.OperatingSystem[] 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 (Platform.OperatingSystem c : Platform.OperatingSystem.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Platform.OperatingSystem 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
-
getSignatures
public java.lang.String[] getSignatures()
Signature strings that if System.getProperty("os.name") contain any of indicates a match.- Returns:
- Signature strings.
-
fromString
public static Platform.OperatingSystem fromString(java.lang.String s)
-
-