public static enum ElasticSearchConnection.Result extends Enum<ElasticSearchConnection.Result>
Modifier and Type | Method and Description |
---|---|
static ElasticSearchConnection.Result |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ElasticSearchConnection.Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ElasticSearchConnection.Result OK
public static final ElasticSearchConnection.Result ERROR
public static final ElasticSearchConnection.Result UNKNOWN
public static ElasticSearchConnection.Result[] values()
for (ElasticSearchConnection.Result c : ElasticSearchConnection.Result.values()) System.out.println(c);
public static ElasticSearchConnection.Result 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 null