public enum StreamingType extends Enum<StreamingType>
| Enum Constant and Description |
|---|
EVENTS |
LIVE_COMMANDS |
LIVE_EVENTS |
MESSAGES |
| Modifier and Type | Method and Description |
|---|---|
static StreamingType |
fromTopic(String distributedPubSubTopic)
Returns a
StreamingType from a given distributedPubSubTopic representation. |
String |
getDistributedPubSubTopic() |
static StreamingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StreamingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StreamingType EVENTS
public static final StreamingType MESSAGES
public static final StreamingType LIVE_COMMANDS
public static final StreamingType LIVE_EVENTS
public static StreamingType[] values()
for (StreamingType c : StreamingType.values()) System.out.println(c);
public static StreamingType 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 getDistributedPubSubTopic()
public static StreamingType fromTopic(String distributedPubSubTopic)
StreamingType from a given distributedPubSubTopic representation.distributedPubSubTopic - the string representation of the topic.Copyright © 2017–2018 Eclipse Foundation. All rights reserved.