Class AbstractRaygunSendEventChainFactory<T extends IRaygunSentEvent>

  • Type Parameters:
    T - is either IRaygunOnBeforeSend or IRaygunOnAfterSend
    Direct Known Subclasses:
    RaygunOnAfterSendChainFactory, RaygunOnBeforeSendChainFactory, RaygunOnFailedSendChainFactory

    public abstract class AbstractRaygunSendEventChainFactory<T extends IRaygunSentEvent>
    extends Object
    This is a factory base class that can create the likes of RaygunOnBeforeSendChain or RaygunOnAfterSendChain OnBefore event handler chains and OnAfter event handler chains are so similar they can both be created by this class. Main methods: .beforeAll(firstFilterFactory) will set a factory to create a filter to be run before the main filters .withFilterFactory(filterFactory) will add a factory to a list that will create a filter that will be run as a main filter .afterAll(lastFilterFactory) will set a factory to create a filter to be run after the main filters .create() will use all the factories to create an implementation that is used by a single RaygunClient instance