public static enum TopicControl.AddTopicResult extends Enum<TopicControl.AddTopicResult>
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 TopicControl.AddTopicResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TopicControl.AddTopicResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopicControl.AddTopicResult CREATED
public static final TopicControl.AddTopicResult EXISTS
public static TopicControl.AddTopicResult[] values()
for (TopicControl.AddTopicResult c : TopicControl.AddTopicResult.values()) System.out.println(c);
public static TopicControl.AddTopicResult 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.