Context

interface Context<T : Any>

Context for an event.

Parameters

T

Event type.

Properties

Link copied to clipboard
abstract var attributes: Map<*, *>
Link copied to clipboard
abstract var event: T
Link copied to clipboard
abstract var exception: Exception?
Link copied to clipboard
abstract var handled: Boolean
Link copied to clipboard
abstract var nextHandler: Int
Link copied to clipboard
abstract var nextHandlers: Array<Handler<T>>
Link copied to clipboard
abstract var predicate: (Context<T>) -> Boolean

Functions

Link copied to clipboard
open fun next(): Context<T>
Link copied to clipboard
abstract fun with(event: T = this.event, predicate: (Context<T>) -> Boolean = this.predicate, nextHandlers: Array<Handler<T>> = this.nextHandlers, nextHandler: Int = this.nextHandler, exception: Exception? = this.exception, attributes: Map<*, *> = this.attributes, handled: Boolean = this.handled): Context<T>