public enum CreateIndexResult extends Enum<CreateIndexResult>
Enum Constant and Description |
---|
ALREADY_EXISTS |
CREATED |
Modifier and Type | Method and Description |
---|---|
static CreateIndexResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreateIndexResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreateIndexResult CREATED
public static final CreateIndexResult ALREADY_EXISTS
public static CreateIndexResult[] values()
for (CreateIndexResult c : CreateIndexResult.values()) System.out.println(c);
public static CreateIndexResult 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 nullCopyright © 2006-2017 Red Hat, Inc. All Rights Reserved