Class SubscribeTrait

    • Field Detail

      • ID

        public static final ShapeId ID
    • Constructor Detail

      • SubscribeTrait

        public SubscribeTrait​(java.lang.String topic,
                              SourceLocation sourceLocation)
      • SubscribeTrait

        public SubscribeTrait​(java.lang.String topic)
    • Method Detail

      • getTopic

        public Topic getTopic()
        Gets the parsed topic of the trait.
        Returns:
        Returns the topic.