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