Package com.mindscapehq.raygun4java.core
Class AbstractRaygunOnSendEventChain<T extends IRaygunSentEvent,M>
- java.lang.Object
-
- com.mindscapehq.raygun4java.core.AbstractRaygunOnSendEventChain<T,M>
-
- Type Parameters:
T- either IRaygunOnBeforeSend or IRaygunOnAfterSendM- 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 Summary
Constructors Constructor Description AbstractRaygunOnSendEventChain(List<T> handlers)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description List<T>getHandlers()Mhandle(RaygunClient client, M message)abstract Mhandle(RaygunClient client, T handler, M message)
-