public enum TopicStatus extends Enum<TopicStatus>
Enum Constant and Description |
---|
ACTIVE
Topic is active.
|
REMOVED
Topic has been removed
|
Modifier and Type | Method and Description |
---|---|
String |
getCode()
Returns message code value.
|
static TopicStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TopicStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopicStatus ACTIVE
public static final TopicStatus REMOVED
public static TopicStatus[] values()
for (TopicStatus c : TopicStatus.values()) System.out.println(c);
public static TopicStatus 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 getCode()
Copyright © 2016 Push Technology Ltd. All Rights Reserved.