| Constructor and Description |
|---|
PatternTopic(String pattern)
Constructs a new
PatternTopic 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 PatternTopic |
of(String pattern)
Create a new
PatternTopic for channel subscriptions based on a pattern. |
String |
toString() |
public PatternTopic(String pattern)
PatternTopic instance.pattern - must not be null.public static PatternTopic of(String pattern)
PatternTopic for channel subscriptions based on a pattern.pattern - the channel pattern, must not be null or empty.PatternTopic for pattern.public String getTopic()
Topicprotected boolean canEqual(Object other)
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.