org.virtualbox_7_0
Enum ProxyMode

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

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

Proxy setting: System (default), NoProxy and Manual.ISystemProperties.getProxyMode() Interface ID: {885264B3-B517-40FC-CE46-36E3BAE895A4}


Enum Constant Summary
Manual
          Use the manual proxy fromISystemProperties.getProxyURL().
NoProxy
          Direct connection to the Internet.
System
          Use the system proxy settings as far as possible.
 
Method Summary
static ProxyMode fromValue(long v)
           
static ProxyMode fromValue(java.lang.String v)
           
 int value()
           
static ProxyMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ProxyMode[] 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

System

public static final ProxyMode System
Use the system proxy settings as far as possible.


NoProxy

public static final ProxyMode NoProxy
Direct connection to the Internet.


Manual

public static final ProxyMode Manual
Use the manual proxy fromISystemProperties.getProxyURL().

Method Detail

values

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

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

valueOf

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

fromValue

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