Class EventRootItemCorrelationStrategy

java.lang.Object
de.hybris.platform.webhookservices.dto.EventRootItemCorrelationStrategy

public class EventRootItemCorrelationStrategy extends Object
The webhook event aggregator's correlation strategy.
  • Constructor Details

    • EventRootItemCorrelationStrategy

      public EventRootItemCorrelationStrategy()
  • Method Details

    • correlationKey

      public String correlationKey(WebhookEvent webhookEvent)
      Provides correlation key based on which WebhookEvents can be grouped.
      Parameters:
      webhookEvent - - an event to calculate the correlation key for.
      Returns:
      - correlation key corresponding to the provided event.