Class PublishTrait

    • Field Detail

      • ID

        public static final ShapeId ID
    • Constructor Detail

      • PublishTrait

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

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

      • getTopic

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