public enum TopicDomain extends Enum<TopicDomain>
| Enum Constant and Description |
|---|
non_persistent |
persistent |
| Modifier and Type | Method and Description |
|---|---|
static TopicDomain |
getEnum(String value) |
String |
toString() |
String |
value() |
static TopicDomain |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TopicDomain[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopicDomain persistent
public static final TopicDomain non_persistent
public static TopicDomain[] values()
for (TopicDomain c : TopicDomain.values()) System.out.println(c);
public static TopicDomain 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 value()
public static TopicDomain getEnum(String value)
public String toString()
toString in class Enum<TopicDomain>Copyright © 2017–2021 Apache Software Foundation. All rights reserved.