Summary: Ctors | Methods | Inherited Methods | [Expand All]

# NoMatchingViewException.Builder

`public static class NoMatchingViewException.Builder`
`extends Object` ``

java.lang.Object
↳ | android.support.test.espresso.NoMatchingViewException.Builder

Builder for `NoMatchingViewException`.

## Summary

### Public constructors
`NoMatchingViewException.Builder()`

### Public methods
`NoMatchingViewException` | `build()`
`NoMatchingViewException.Builder` | `from(NoMatchingViewException exception)`
`NoMatchingViewException.Builder` | `includeViewHierarchy(boolean includeViewHierarchy)`
`NoMatchingViewException.Builder` | `withAdapterViewWarning(Optional<String> adapterViewWarning)`
`NoMatchingViewException.Builder` | `withAdapterViews(List<View> adapterViews)`
`NoMatchingViewException.Builder` | `withRootView(View rootView)`
`NoMatchingViewException.Builder` | `withViewMatcher(Matcher<? super View> viewMatcher)`

### Inherited methods
From class `java.lang.Object`
`Object` | `clone()`
`boolean` | `equals(Object arg0)`
`void` | `finalize()`
`final Class<?>` | `getClass()`
`int` | `hashCode()`
`final void` | `notify()`
`final void` | `notifyAll()`
`String` | `toString()`
`final void` | `wait(long arg0, int arg1)`
`final void` | `wait(long arg0)`
`final void` | `wait()`

## Public constructors

### NoMatchingViewException.Builder

    NoMatchingViewException.Builder ()

## Public methods

### build

    NoMatchingViewException build ()

Returns
`NoMatchingViewException` |

### from

    NoMatchingViewException.Builder from (NoMatchingViewException exception)

Parameters
`exception` | `NoMatchingViewException`

Returns
`NoMatchingViewException.Builder` |

### includeViewHierarchy

    NoMatchingViewException.Builder includeViewHierarchy (boolean includeViewHierarchy)

Parameters
`includeViewHierarchy` | `boolean`

Returns
`NoMatchingViewException.Builder` |

### withAdapterViewWarning

    NoMatchingViewException.Builder withAdapterViewWarning (Optional<String> adapterViewWarning)

Parameters
`adapterViewWarning` | `Optional`

Returns
`NoMatchingViewException.Builder` |

### withAdapterViews

    NoMatchingViewException.Builder withAdapterViews (List<View> adapterViews)

Parameters
`adapterViews` | `List`

Returns
`NoMatchingViewException.Builder` |

### withRootView

    NoMatchingViewException.Builder withRootView (View rootView)

Parameters
`rootView` | `View`

Returns
`NoMatchingViewException.Builder` |

### withViewMatcher

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

Parameters
`viewMatcher` | `Matcher`

Returns
`NoMatchingViewException.Builder` |

- ## Interfaces

  - BaseLayerComponent
  - EspressoException
  - FailureHandler
  - IdlingResource
  - IdlingResource.ResourceCallback
  - UiController
  - ViewAction
  - ViewAssertion
  - ViewFinder
  - ViewInteractionComponent

- ## Classes

  - AmbiguousViewMatcherException.Builder
  - DataInteraction
  - Espresso
  - GraphHolder
  - IdlingPolicies
  - IdlingPolicy
  - NoMatchingViewException.Builder
  - PerformException.Builder
  - Root
  - Root.Builder
  - ViewInteraction

- ## Exceptions

  - AmbiguousViewMatcherException
  - AppNotIdleException
  - IdlingResourceTimeoutException
  - InjectEventSecurityException
  - NoActivityResumedException
  - NoMatchingRootException
  - NoMatchingViewException
  - PerformException