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, getValue
equals, getSourceLocation, hashCode, setNodeCache, toNode, toShapeId, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
flatMapStream, getIdiomaticTraitName, getIdiomaticTraitName, isSynthetic, makeAbsoluteName, makeAbsoluteName
public static final ShapeId ID
public SubscribeTrait(java.lang.String topic, SourceLocation sourceLocation)
public SubscribeTrait(java.lang.String topic)
public Topic getTopic()