-
public interface UiDelegate<Interaction extends Object, Assertion extends Object, Action extends Object>Base delegate interface for Kautomator.
Provides functionality of aggregating interceptors and invoking them on
checkandperforminvocations.
-
-
Method Summary
Modifier and Type Method Description abstract Iterable<UiInterceptor<Interaction, Assertion, Action>>screenInterceptors()abstract UiInterceptor<Interaction, Assertion, Action>globalInterceptor()BooleaninterceptCheck(Assertion assertion)Runs the interceptors available for the given delegate during the checkoperation.BooleaninterceptPerform(Action action)Runs the interceptors available for the given delegate during the executeoperation.abstract InteractiongetInteraction()abstract UiInterceptor<Interaction, Assertion, Action>getInterceptor()abstract UnitsetInterceptor(UiInterceptor<Interaction, Assertion, Action> interceptor)-
-
Method Detail
-
screenInterceptors
abstract Iterable<UiInterceptor<Interaction, Assertion, Action>> screenInterceptors()
-
globalInterceptor
abstract UiInterceptor<Interaction, Assertion, Action> globalInterceptor()
-
interceptCheck
Boolean interceptCheck(Assertion assertion)
Runs the interceptors available for the given delegate during the
checkoperation.
-
interceptPerform
Boolean interceptPerform(Action action)
Runs the interceptors available for the given delegate during the
executeoperation.
-
getInteraction
abstract Interaction getInteraction()
-
getInterceptor
abstract UiInterceptor<Interaction, Assertion, Action> getInterceptor()
-
setInterceptor
abstract Unit setInterceptor(UiInterceptor<Interaction, Assertion, Action> interceptor)
-
-
-
-