-
- All Implemented Interfaces:
-
io.github.kakaocup.compose.intercept.interaction.Interaction
public interface Delegate<INTERACTION extends Interaction<ASSERTION, ACTION>, ASSERTION extends Object, ACTION extends Object> implements Interaction<ASSERTION, ACTION>
Base delegate interface for Kakao-Compose.
Provides functionality of aggregating interceptors and invoking them on
checkandperformfunctions.
-
-
Method Summary
Modifier and Type Method Description Unitperform(ACTION action)Unitcheck(ASSERTION assertion)abstract INTERACTIONgetInteraction()abstract Function0<Iterable<Interceptor<INTERACTION, ASSERTION, ACTION>>>getNodeInterceptors()abstract Function0<Interceptor<INTERACTION, ASSERTION, ACTION>>getGlobalInterceptor()-
-
Method Detail
-
getInteraction
abstract INTERACTION getInteraction()
-
getNodeInterceptors
abstract Function0<Iterable<Interceptor<INTERACTION, ASSERTION, ACTION>>> getNodeInterceptors()
-
getGlobalInterceptor
abstract Function0<Interceptor<INTERACTION, ASSERTION, ACTION>> getGlobalInterceptor()
-
-
-
-