public enum ListenerType extends Enum<ListenerType> implements com.facebook.thrift.TEnum
| Enum Constant and Description |
|---|
ELASTICSEARCH |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static ListenerType |
findByValue(int value)
Find a the enum type by its integer value, as defined in the Thrift IDL.
|
int |
getValue()
Get the integer value of this enum value, as defined in the Thrift IDL.
|
static ListenerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListenerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListenerType UNKNOWN
public static final ListenerType ELASTICSEARCH
public static ListenerType[] values()
for (ListenerType c : ListenerType.values()) System.out.println(c);
public static ListenerType 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 int getValue()
getValue in interface com.facebook.thrift.TEnumpublic static ListenerType findByValue(int value)
Copyright © 2022. All rights reserved.