public static enum YMarkTables.PROTOCOLS extends java.lang.Enum<YMarkTables.PROTOCOLS>
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
protocol |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
protocol() |
java.lang.String |
protocol(java.lang.String s) |
static YMarkTables.PROTOCOLS |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static YMarkTables.PROTOCOLS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YMarkTables.PROTOCOLS HTTP
public static final YMarkTables.PROTOCOLS HTTPS
public static YMarkTables.PROTOCOLS[] values()
for (YMarkTables.PROTOCOLS c : YMarkTables.PROTOCOLS.values()) System.out.println(c);
public static YMarkTables.PROTOCOLS 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 nullpublic java.lang.String protocol()
public java.lang.String protocol(java.lang.String s)