AmbiguousViewMatcherException.Builder

public static class AmbiguousViewMatcherException.Builder
extends Object

java.lang.Object
   ↳ android.support.test.espresso.AmbiguousViewMatcherException.Builder


Builder for AmbiguousViewMatcherException.

Summary

Public constructors

AmbiguousViewMatcherException.Builder()

Public methods

AmbiguousViewMatcherException build()
AmbiguousViewMatcherException.Builder from(AmbiguousViewMatcherException exception)
AmbiguousViewMatcherException.Builder includeViewHierarchy(boolean includeViewHierarchy)
AmbiguousViewMatcherException.Builder withOtherAmbiguousViews(View... others)
AmbiguousViewMatcherException.Builder withRootView(View rootView)
AmbiguousViewMatcherException.Builder withView1(View view1)
AmbiguousViewMatcherException.Builder withView2(View view2)
AmbiguousViewMatcherException.Builder withViewMatcher(Matcher<? super View> viewMatcher)

Inherited methods

From class java.lang.Object

Public constructors

AmbiguousViewMatcherException.Builder

AmbiguousViewMatcherException.Builder ()

Public methods

from

AmbiguousViewMatcherException.Builder from (AmbiguousViewMatcherException exception)

Parameters
exception AmbiguousViewMatcherException

Returns
AmbiguousViewMatcherException.Builder

includeViewHierarchy

AmbiguousViewMatcherException.Builder includeViewHierarchy (boolean includeViewHierarchy)

Parameters
includeViewHierarchy boolean

Returns
AmbiguousViewMatcherException.Builder

withOtherAmbiguousViews

AmbiguousViewMatcherException.Builder withOtherAmbiguousViews (View... others)

Parameters
others View

Returns
AmbiguousViewMatcherException.Builder

withRootView

AmbiguousViewMatcherException.Builder withRootView (View rootView)

Parameters
rootView View

Returns
AmbiguousViewMatcherException.Builder

withView1

AmbiguousViewMatcherException.Builder withView1 (View view1)

Parameters
view1 View

Returns
AmbiguousViewMatcherException.Builder

withView2

AmbiguousViewMatcherException.Builder withView2 (View view2)

Parameters
view2 View

Returns
AmbiguousViewMatcherException.Builder

withViewMatcher

AmbiguousViewMatcherException.Builder withViewMatcher (Matcher<? super View> viewMatcher)

Parameters
viewMatcher Matcher

Returns
AmbiguousViewMatcherException.Builder