Class MessageEnricher

java.lang.Object
org.jenkinsci.plugins.pubsub.MessageEnricher
All Implemented Interfaces:
ExtensionPoint

public abstract class MessageEnricher extends Object implements ExtensionPoint
Message enricher extension point.

This extension point should only be used to add enough additional event data to allow an event consumer make a decision on whether or not it is interested in this event i.e. where the default min data on the event was not enough. Please use sparingly!!

Author:
tom.fennelly@gmail.com
  • Constructor Details

    • MessageEnricher

      public MessageEnricher()
  • Method Details

    • enrich

      public abstract void enrich(@NonNull Message message)
      Enrich the message with some additional data.
      Parameters:
      message - The message instance.