This is only used by the TopicData.getType()
method and
within TopicDefinition
s, both of which are deprecated.
This will be removed in a future release.
@Deprecated public enum TopicDataType extends Enum<TopicDataType>
TopicData
.
Enum Constant and Description |
---|
NONE
Deprecated.
No topic data.
|
ROUTING
Deprecated.
Routing Topic Data.
|
SLAVE
Deprecated.
Slave Topic Data.
|
UNIVERSAL
Deprecated.
Universal Topic.
|
Modifier and Type | Method and Description |
---|---|
static TopicDataType |
getByTypeCode(String typeCode)
Deprecated.
Map type-code string to TopicDataType object.
|
String |
getDescription()
Deprecated.
The description.
|
String |
getTypeCode()
Deprecated.
Returns a one or two character code representing the type.
|
static TopicDataType |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static TopicDataType[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopicDataType NONE
This special type is used to represent a topic that has no topic data.
public static final TopicDataType SLAVE
Topic data of type SlaveTopicData
public static final TopicDataType ROUTING
Functional topic data of type
RoutingTopicData
public static final TopicDataType UNIVERSAL
Topic data of type UniversalTopicData
.
public static TopicDataType[] values()
for (TopicDataType c : TopicDataType.values()) System.out.println(c);
public static TopicDataType 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 getTypeCode()
public static TopicDataType getByTypeCode(String typeCode)
typeCode
- the codepublic String getDescription()
Copyright © 2020 Push Technology Ltd. All Rights Reserved.