Class PubsubEventCreator

  • All Implemented Interfaces:
    EventCreator

    public class PubsubEventCreator
    extends java.lang.Object
    implements EventCreator
    An EventCreator that extracts artifacts from an incoming message and creates an event of type pubsub from the message and artifacts.
    • Constructor Summary

      Constructors 
      Constructor Description
      PubsubEventCreator​(java.util.Optional<com.netflix.spinnaker.echo.artifacts.MessageArtifactTranslator> messageArtifactTranslator)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.netflix.spinnaker.echo.api.events.Event createEvent​(com.netflix.spinnaker.echo.model.pubsub.MessageDescription description)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PubsubEventCreator

        public PubsubEventCreator​(java.util.Optional<com.netflix.spinnaker.echo.artifacts.MessageArtifactTranslator> messageArtifactTranslator)
    • Method Detail

      • createEvent

        public com.netflix.spinnaker.echo.api.events.Event createEvent​(com.netflix.spinnaker.echo.model.pubsub.MessageDescription description)
        Specified by:
        createEvent in interface EventCreator