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