Package org.eclipse.packager.rpm
Enum OperatingSystem
- java.lang.Object
-
- java.lang.Enum<OperatingSystem>
-
- org.eclipse.packager.rpm.OperatingSystem
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<OperatingSystem>
public enum OperatingSystem extends java.lang.Enum<OperatingSystem>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.Optional<OperatingSystem>fromAlias(java.lang.String alias)static java.util.Optional<OperatingSystem>fromValue(int value)shortgetValue()static OperatingSystemvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static OperatingSystem[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final OperatingSystem UNKNOWN
-
LINUX
public static final OperatingSystem LINUX
-
IRIX
public static final OperatingSystem IRIX
-
SUNOS_5
public static final OperatingSystem SUNOS_5
-
SUNOS_4
public static final OperatingSystem SUNOS_4
-
AIX
public static final OperatingSystem AIX
-
HP_UX
public static final OperatingSystem HP_UX
-
OSF
public static final OperatingSystem OSF
-
FREEBSD
public static final OperatingSystem FREEBSD
-
IRIX64
public static final OperatingSystem IRIX64
-
NEXTSTEP
public static final OperatingSystem NEXTSTEP
-
BSD
public static final OperatingSystem BSD
-
MACHTEN
public static final OperatingSystem MACHTEN
-
CYGWIN32_NT
public static final OperatingSystem CYGWIN32_NT
-
CYGWIN32_95
public static final OperatingSystem CYGWIN32_95
-
UNIX_SV
public static final OperatingSystem UNIX_SV
-
MINT
public static final OperatingSystem MINT
-
OS_390
public static final OperatingSystem OS_390
-
VM_ESA
public static final OperatingSystem VM_ESA
-
LINUX_390
public static final OperatingSystem LINUX_390
-
MACOS_X
public static final OperatingSystem MACOS_X
-
-
Method Detail
-
values
public static 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 (OperatingSystem c : 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 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
-
getValue
public short getValue()
-
fromValue
public static java.util.Optional<OperatingSystem> fromValue(int value)
-
fromAlias
public static java.util.Optional<OperatingSystem> fromAlias(java.lang.String alias)
-
-