public enum IndexStatus extends Enum<IndexStatus>
| Modifier and Type | Method and Description |
|---|---|
String |
getElasticsearchString() |
static IndexStatus |
of(String value) |
static IndexStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndexStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexStatus GREEN
public static final IndexStatus YELLOW
public static final IndexStatus RED
public static IndexStatus[] values()
for (IndexStatus c : IndexStatus.values()) System.out.println(c);
public static IndexStatus 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 static IndexStatus of(String value)
public String getElasticsearchString()
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.