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