| Constructor and Description |
|---|
ChannelTopic(String name)
Constructs a new
ChannelTopic instance. |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getTopic()
Returns the topic (as a String).
|
int |
hashCode() |
static ChannelTopic |
of(String name)
Create a new
ChannelTopic for channel subscriptions. |
String |
toString() |
public ChannelTopic(String name)
ChannelTopic instance.name - must not be null.public static ChannelTopic of(String name)
ChannelTopic for channel subscriptions.name - the channel name, must not be null or empty.ChannelTopic for channelName.public String getTopic()
Topicprotected boolean canEqual(Object other)
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.