Package com.hexagonkt.handlers
Interface Context
-
- All Implemented Interfaces:
public interface Context<T extends Object>Context for an event.
-
-
Method Summary
Modifier and Type Method Description abstract Context<T>with(T event, Function1<Context<T>, Boolean> predicate, List<Handler<T>> nextHandlers, Integer nextHandler, Exception exception, Map<?, ?> attributes, Boolean handled)Context<T>next()abstract TgetEvent()abstract Function1<Context<T>, Boolean>getPredicate()abstract List<Handler<T>>getNextHandlers()abstract IntegergetNextHandler()abstract ExceptiongetException()abstract Map<?, ?>getAttributes()abstract BooleangetHandled()-
-
Method Detail
-
with
abstract Context<T> with(T event, Function1<Context<T>, Boolean> predicate, List<Handler<T>> nextHandlers, Integer nextHandler, Exception exception, Map<?, ?> attributes, Boolean handled)
-
getPredicate
abstract Function1<Context<T>, Boolean> getPredicate()
-
getNextHandlers
abstract List<Handler<T>> getNextHandlers()
-
getNextHandler
abstract Integer getNextHandler()
-
getException
abstract Exception getException()
-
getAttributes
abstract Map<?, ?> getAttributes()
-
getHandled
abstract Boolean getHandled()
-
-
-
-