public enum NetworkProxySettings extends Enum<NetworkProxySettings>
Enum.EnumDesc<E extends Enum<E>>
Enum Constant and Description |
---|
ASK
Ask the user for confirmation.
|
IGNORE
Do not verify proxy settings.
|
NOTICE
Display a notice that proxy settings mismatch.
|
OVERRIDE
Automatically override on execution, but do not change gradle.properties.
|
UPDATE
Update user's gradle.properties file.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
allowProxyOverride()
Determines if override is a valid option.
|
String |
toString() |
static NetworkProxySettings |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetworkProxySettings[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkProxySettings IGNORE
public static final NetworkProxySettings NOTICE
public static final NetworkProxySettings UPDATE
public static final NetworkProxySettings ASK
public static final NetworkProxySettings OVERRIDE
public static NetworkProxySettings[] values()
public static NetworkProxySettings valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<NetworkProxySettings>
public static boolean allowProxyOverride()