Module org.arakhne.afc.core.vmutils
Package org.arakhne.afc.vmutil
Enum OperatingSystemIdentificationType
- java.lang.Object
-
- java.lang.Enum<OperatingSystemIdentificationType>
-
- org.arakhne.afc.vmutil.OperatingSystemIdentificationType
-
- All Implemented Interfaces:
Serializable
,Comparable<OperatingSystemIdentificationType>
public enum OperatingSystemIdentificationType extends Enum<OperatingSystemIdentificationType>
Types of identification of the operating system.- Since:
- 6.3
- Version:
- 17.0 2020-01-04 14:41:35
- Author:
- Stéphane GALLAND
- Maven Group Id:
- org.arakhne.afc.core
- Maven Artifact Id:
- vmutils
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BIOS
Identification comes from the BIOS.DONGLE
Identification comes from a dongle.HARD_DISK
Identification comes from the hard disk.NETWORK_CARD
Identification comes from the network card.OPERATING_SYSTEM
Identification comes from the Operating System itself.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OperatingSystemIdentificationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static OperatingSystemIdentificationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BIOS
public static final OperatingSystemIdentificationType BIOS
Identification comes from the BIOS.
-
OPERATING_SYSTEM
public static final OperatingSystemIdentificationType OPERATING_SYSTEM
Identification comes from the Operating System itself.
-
HARD_DISK
public static final OperatingSystemIdentificationType HARD_DISK
Identification comes from the hard disk.
-
NETWORK_CARD
public static final OperatingSystemIdentificationType NETWORK_CARD
Identification comes from the network card.
-
DONGLE
public static final OperatingSystemIdentificationType DONGLE
Identification comes from a dongle.
-
-
Method Detail
-
values
public static OperatingSystemIdentificationType[] 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 (OperatingSystemIdentificationType c : OperatingSystemIdentificationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperatingSystemIdentificationType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-