org.virtualbox_4_1
Enum USBDeviceFilterAction

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

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

Actions for host USB device filters.

See Also:
IHostUSBDeviceFilter, Interface ID: {CBC30A49-2F4E-43B5-9DA6-121320475933}

Enum Constant Summary
Hold
          Hold the matched USB device.
Ignore
          Ignore the matched USB device.
Null
          Null value (never used by the API).
 
Method Summary
static USBDeviceFilterAction fromValue(long v)
           
static USBDeviceFilterAction fromValue(java.lang.String v)
           
 int value()
           
static USBDeviceFilterAction valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static USBDeviceFilterAction[] 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

Null

public static final USBDeviceFilterAction Null
Null value (never used by the API).


Ignore

public static final USBDeviceFilterAction Ignore
Ignore the matched USB device.


Hold

public static final USBDeviceFilterAction Hold
Hold the matched USB device.

Method Detail

values

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

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

valueOf

public static USBDeviceFilterAction 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 USBDeviceFilterAction fromValue(long v)

fromValue

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