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