org.virtualbox_4_1
Enum HostNetworkInterfaceStatus

java.lang.Object
  extended by java.lang.Enum<HostNetworkInterfaceStatus>
      extended by org.virtualbox_4_1.HostNetworkInterfaceStatus
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<HostNetworkInterfaceStatus>

public enum HostNetworkInterfaceStatus
extends java.lang.Enum<HostNetworkInterfaceStatus>

Current status of the interface.

See Also:
Interface ID: {CC474A69-2710-434B-8D99-C38E5D5A6F41}

Enum Constant Summary
Down
          The interface is not functioning.
Unknown
          The state of interface cannot be determined.
Up
          The interface is fully operational.
 
Method Summary
static HostNetworkInterfaceStatus fromValue(long v)
           
static HostNetworkInterfaceStatus fromValue(java.lang.String v)
           
 int value()
           
static HostNetworkInterfaceStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static HostNetworkInterfaceStatus[] 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

Unknown

public static final HostNetworkInterfaceStatus Unknown
The state of interface cannot be determined.


Up

public static final HostNetworkInterfaceStatus Up
The interface is fully operational.


Down

public static final HostNetworkInterfaceStatus Down
The interface is not functioning.

Method Detail

values

public static HostNetworkInterfaceStatus[] 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 (HostNetworkInterfaceStatus c : HostNetworkInterfaceStatus.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static HostNetworkInterfaceStatus 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 name
java.lang.NullPointerException - if the argument is null

value

public int value()

fromValue

public static HostNetworkInterfaceStatus fromValue(long v)

fromValue

public static HostNetworkInterfaceStatus fromValue(java.lang.String v)