Class AbstractRaygunOnSendEventChain<T extends IRaygunSentEvent,​M>

  • Type Parameters:
    T - either IRaygunOnBeforeSend or IRaygunOnAfterSend
    M - RaygunMessage or String
    Direct Known Subclasses:
    RaygunOnAfterSendChain, RaygunOnBeforeSendChain, RaygunOnFailedSendChain

    public abstract class AbstractRaygunOnSendEventChain<T extends IRaygunSentEvent,​M>
    extends Object
    This is a generic send-event chain handler. Given a list of handlers executes each handler with the message, stopping in any handler returns null Instances are not shared between RaygunClient instances
    • Constructor Detail

      • AbstractRaygunOnSendEventChain

        public AbstractRaygunOnSendEventChain​(List<T> handlers)
    • Method Detail

      • handle

        public abstract M handle​(RaygunClient client,
                                 T handler,
                                 M message)
      • getHandlers

        public List<T> getHandlers()