PerformException.Builder

public static class PerformException.Builder
extends Object

java.lang.Object
   ↳ androidx.test.espresso.PerformException.Builder


Builder for PerformException.

Summary

Public constructors

Builder()

Public methods

PerformException build()
PerformException.Builder from(PerformException instance)
PerformException.Builder withActionDescription(String actionDescription)
PerformException.Builder withCause(Throwable cause)
PerformException.Builder withViewDescription(String viewDescription)

Inherited methods

Public constructors

Builder

public Builder ()

Public methods

build

public PerformException build ()

Returns
PerformException

from

public PerformException.Builder from (PerformException instance)

Parameters
instance PerformException

Returns
PerformException.Builder

withActionDescription

public PerformException.Builder withActionDescription (String actionDescription)

Parameters
actionDescription String

Returns
PerformException.Builder

withCause

public PerformException.Builder withCause (Throwable cause)

Parameters
cause Throwable

Returns
PerformException.Builder

withViewDescription

public PerformException.Builder withViewDescription (String viewDescription)

Parameters
viewDescription String

Returns
PerformException.Builder