public static enum GetIndexRequest.Feature extends Enum<GetIndexRequest.Feature>
Enum Constant and Description |
---|
ALIASES |
MAPPINGS |
SETTINGS |
WARMERS |
Modifier and Type | Method and Description |
---|---|
static GetIndexRequest.Feature[] |
convertToFeatures(String... featureNames) |
static GetIndexRequest.Feature |
fromId(byte id) |
static GetIndexRequest.Feature |
fromName(String name) |
byte |
id() |
String |
preferredName() |
boolean |
validName(String name) |
static GetIndexRequest.Feature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GetIndexRequest.Feature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GetIndexRequest.Feature ALIASES
public static final GetIndexRequest.Feature MAPPINGS
public static final GetIndexRequest.Feature SETTINGS
public static final GetIndexRequest.Feature WARMERS
public static GetIndexRequest.Feature[] values()
for (GetIndexRequest.Feature c : GetIndexRequest.Feature.values()) System.out.println(c);
public static GetIndexRequest.Feature 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 nullpublic byte id()
public String preferredName()
public boolean validName(String name)
public static GetIndexRequest.Feature fromName(String name)
public static GetIndexRequest.Feature fromId(byte id)
public static GetIndexRequest.Feature[] convertToFeatures(String... featureNames)
Copyright © 2009–2017. All rights reserved.