Enum NetworkProxy.ProxyType
- java.lang.Object
-
- java.lang.Enum<NetworkProxy.ProxyType>
-
- ca.cgjennings.apps.arkham.plugins.catalog.NetworkProxy.ProxyType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<NetworkProxy.ProxyType>
- Enclosing class:
- NetworkProxy
public static enum NetworkProxy.ProxyType extends java.lang.Enum<NetworkProxy.ProxyType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIRECT
PROXY
SECURE_PROXY
SYSTEM
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NetworkProxy.ProxyType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NetworkProxy.ProxyType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DIRECT
public static final NetworkProxy.ProxyType DIRECT
-
SYSTEM
public static final NetworkProxy.ProxyType SYSTEM
-
PROXY
public static final NetworkProxy.ProxyType PROXY
-
SECURE_PROXY
public static final NetworkProxy.ProxyType SECURE_PROXY
-
-
Method Detail
-
values
public static NetworkProxy.ProxyType[] 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 (NetworkProxy.ProxyType c : NetworkProxy.ProxyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NetworkProxy.ProxyType 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 namejava.lang.NullPointerException
- if the argument is null
-
-