-
- All Implemented Interfaces:
-
io.github.kakaocup.kakao.delegate.Delegate
public final class DataInteractionDelegate implements Delegate<DataInteraction, ViewAssertion, ViewAction>
Delegation class for DataInteraction. Wraps all available public calls and intercepts check and perform.
-
-
Field Summary
Fields Modifier and Type Field Description private Interceptor<DataInteraction, ViewAssertion, ViewAction>interceptorprivate DataInteractioninteraction
-
Constructor Summary
Constructors Constructor Description DataInteractionDelegate(DataInteraction interaction)
-
Method Summary
Modifier and Type Method Description Interceptor<DataInteraction, ViewAssertion, ViewAction>getInterceptor()UnitsetInterceptor(Interceptor<DataInteraction, ViewAssertion, ViewAction> interceptor)DataInteractiongetInteraction()UnitsetInteraction(DataInteraction interaction)final <ERROR CLASS>atPosition(Integer atPosition)final ViewInteractionDelegatecheck(ViewAssertion viewAssert)final <ERROR CLASS>inAdapterView(Matcher<View> adapterMatcher)final <ERROR CLASS>inRoot(Matcher<Root> rootMatcher)final <ERROR CLASS>onChildView(Matcher<View> childMatcher)final ViewInteractionDelegateperform(ViewAction viewActions)final <ERROR CLASS>usingAdapterViewProtocol(AdapterViewProtocol adapterViewProtocol)Deque<Interceptor<DataInteraction, ViewAssertion, ViewAction>>screenInterceptors()Interceptor<DataInteraction, ViewAssertion, ViewAction>kakaoInterceptor()-
-
Constructor Detail
-
DataInteractionDelegate
DataInteractionDelegate(DataInteraction interaction)
-
-
Method Detail
-
getInterceptor
Interceptor<DataInteraction, ViewAssertion, ViewAction> getInterceptor()
-
setInterceptor
Unit setInterceptor(Interceptor<DataInteraction, ViewAssertion, ViewAction> interceptor)
-
getInteraction
DataInteraction getInteraction()
-
setInteraction
Unit setInteraction(DataInteraction interaction)
-
atPosition
@Contract(value = _->this) final <ERROR CLASS> atPosition(Integer atPosition)
-
check
final ViewInteractionDelegate check(ViewAssertion viewAssert)
-
inAdapterView
@Contract(value = _->this) final <ERROR CLASS> inAdapterView(Matcher<View> adapterMatcher)
-
onChildView
@Contract(value = _->this) final <ERROR CLASS> onChildView(Matcher<View> childMatcher)
-
perform
final ViewInteractionDelegate perform(ViewAction viewActions)
-
usingAdapterViewProtocol
@Contract(value = _->this) final <ERROR CLASS> usingAdapterViewProtocol(AdapterViewProtocol adapterViewProtocol)
-
screenInterceptors
Deque<Interceptor<DataInteraction, ViewAssertion, ViewAction>> screenInterceptors()
-
kakaoInterceptor
Interceptor<DataInteraction, ViewAssertion, ViewAction> kakaoInterceptor()
-
-
-
-