Class TopicTriggerContext


  • public final class TopicTriggerContext
    extends AbstractTriggerContext

    Provides contextual response metadata for triggers raised by Topic events.

    • Constructor Detail

      • TopicTriggerContext

        protected TopicTriggerContext​(String topic)
        Creates a new TopicTriggerContext
        Parameters:
        topic - The name of the topic that raised the trigger
    • Method Detail

      • getTopic

        public String getTopic()
        Retrieve the topic name for this trigger
        Returns:
        The name of the topic that raised the trigger
      • toString

        public String toString()
        Overrides:
        toString in class Object
        Returns:
        String representation of this object