public enum TopicCreationResult extends Enum<TopicCreationResult>
Enum Constant and Description |
---|
CREATED
A new topic was created.
|
EXISTS
A topic with the same specification already exists.
|
Modifier and Type | Method and Description |
---|---|
static TopicCreationResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TopicCreationResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopicCreationResult CREATED
public static final TopicCreationResult EXISTS
public static TopicCreationResult[] values()
for (TopicCreationResult c : TopicCreationResult.values()) System.out.println(c);
public static TopicCreationResult 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 nullCopyright © 2024 DiffusionData Ltd. All Rights Reserved.