org.arakhne.vmutil
Enum OperatingSystemIdentificationType

java.lang.Object
  extended by java.lang.Enum<OperatingSystemIdentificationType>
      extended by org.arakhne.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:
6.3 (rev:285) 2011-10-14 12:02:41
Author:
Stéphane GALLAND
Maven Group Id:
org.arakhne.afc
Maven Artifact Id:
arakhneVmutils

Enum Constant Summary
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
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
NullPointerException - if the argument is null


Copyright © 2006-2011 Arakhnê.org Consortium. All rights reserved under LGPL license terms.