Context

data class Context<T : Any>(    val event: T,     val currentFilter: Predicate<T>,     val nextHandlers: List<Handler<T>> = emptyList(),     val exception: Exception? = null,     val attributes: Map<*, *> = emptyMap<Any, Any>())

Context for an event.

Parameters

T

Event type.

Constructors

Link copied to clipboard
fun <T : Any> Context(    event: T,     currentFilter: Predicate<T>,     nextHandlers: List<Handler<T>> = emptyList(),     exception: Exception? = null,     attributes: Map<*, *> = emptyMap<Any, Any>())

Functions

Link copied to clipboard
fun next(): Context<T>

Properties

Link copied to clipboard
val attributes: Map<*, *>
Link copied to clipboard
val currentFilter: Predicate<T>
Link copied to clipboard
val event: T
Link copied to clipboard
val exception: Exception? = null
Link copied to clipboard
val nextHandlers: List<Handler<T>>