public static enum Configuration.Protocol extends java.lang.Enum<Configuration.Protocol>
Modifier and Type | Method and Description |
---|---|
static Configuration.Protocol |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Configuration.Protocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Configuration.Protocol HTTP
public static final Configuration.Protocol HTTPS
public static Configuration.Protocol[] values()
for (Configuration.Protocol c : Configuration.Protocol.values()) System.out.println(c);
public static Configuration.Protocol valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2018 Cloud Software Group, Inc. All Rights Reserved.