-
public interface Interceptable<INTERACTION extends Object, ASSERTION extends Object, ACTION extends Object>
-
-
Method Summary
Modifier and Type Method Description Unitintercept(Function1<Interceptor.Builder<INTERACTION, ASSERTION, ACTION>, Unit> builder)Sets the interceptors for the instance. Unitreset()Removes the interceptors from the instance. abstract Delegate<INTERACTION, ASSERTION, ACTION>getView()-
-
Method Detail
-
intercept
Unit intercept(Function1<Interceptor.Builder<INTERACTION, ASSERTION, ACTION>, Unit> builder)
Sets the interceptors for the instance. Interceptors will be invoked on the interaction with the KView.
- Parameters:
builder- Builder of the interceptors
-
getView
abstract Delegate<INTERACTION, ASSERTION, ACTION> getView()
-
-
-
-