public final class SubscribeTrait extends StringTrait
| Modifier and Type | Class and Description |
|---|---|
static class |
SubscribeTrait.Provider |
| Constructor and Description |
|---|
SubscribeTrait(java.lang.String topic) |
SubscribeTrait(java.lang.String topic,
SourceLocation sourceLocation) |
| Modifier and Type | Method and Description |
|---|---|
Topic |
getTopic()
Gets the parsed topic of the trait.
|
createNode, getValueequals, getSourceLocation, hashCode, setNodeCache, toNode, toShapeId, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitflatMapStream, getIdiomaticTraitName, getIdiomaticTraitName, isSynthetic, makeAbsoluteName, makeAbsoluteNamepublic static final ShapeId ID
public SubscribeTrait(java.lang.String topic,
SourceLocation sourceLocation)
public SubscribeTrait(java.lang.String topic)
public Topic getTopic()