public static enum SearchVersion.Distribution extends Enum<SearchVersion.Distribution>
| Enum Constant and Description |
|---|
ELASTICSEARCH |
OPENSEARCH |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static SearchVersion.Distribution |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchVersion.Distribution[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchVersion.Distribution ELASTICSEARCH
public static final SearchVersion.Distribution OPENSEARCH
public static SearchVersion.Distribution[] values()
for (SearchVersion.Distribution c : SearchVersion.Distribution.values()) System.out.println(c);
public static SearchVersion.Distribution 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 String toString()
toString in class Enum<SearchVersion.Distribution>Copyright © 2012–2022 Graylog, Inc.. All rights reserved.