Package io.nitric.faas
Class TopicTriggerContext
- java.lang.Object
-
- io.nitric.faas.AbstractTriggerContext
-
- io.nitric.faas.TopicTriggerContext
-
public final class TopicTriggerContext extends AbstractTriggerContext
Provides contextual response metadata for triggers raised by Topic events.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TopicTriggerContext(String topic)
Creates a new TopicTriggerContext
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getTopic()
Retrieve the topic name for this triggerString
toString()
-
Methods inherited from class io.nitric.faas.AbstractTriggerContext
asHttp, asTopic, buildTriggerContext, isHttp, isTopic
-
-
-
-
Constructor Detail
-
TopicTriggerContext
protected TopicTriggerContext(String topic)
Creates a new TopicTriggerContext- Parameters:
topic
- The name of the topic that raised the trigger
-
-