1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119<!DOCTYPE html> 120<html devsite> 121<head> 122 123 124 <meta name="top_category" value="develop" /> 125 126 <meta name="subcategory" value="reference" /> 127 128 129 <meta name="book_path" value="/reference/android/support/test/_book.yaml" /> 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145<title>PerformException.Builder</title> 146 147 148</head> 149 150<body class="gc-documentation develop reference api apilevel-"> 151<div id="doc-api-level" class="" style="display:none"></div> 152 153 154 155 156<div id="naMessage"></div> 157 158<div id="api-info-block"> 159<div class="api-level"> 160 161 162 163 164</div> 165 166 167 168 169 170 171 172 173 174 175 176<div class="sum-details-links"> 177 178Summary: 179 180 181 182 183 184 185 186 187 188 <a href="#pubctors">Ctors</a> 189 190 191 192 193 | <a href="#pubmethods">Methods</a> 194 195 196 197 198 | <a href="#inhmethods">Inherited Methods</a> 199 200| <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> 201 202</div><!-- end sum-details-links --> 203</div><!-- end api-info-block --> 204 205<div class="api apilevel-" id="jd-content"> 206 207<!-- ======== START OF CLASS DATA ======== --> 208 209<h1 class="api-title">PerformException.Builder</h1> 210<p> 211<code class="api-signature"> 212 public 213 static 214 215 216 class 217 PerformException.Builder 218</code> 219<br> 220 221 222<code class="api-signature"> 223 224 extends Object 225 226 227 228</code> 229 230<code class="api-signature"> 231 232 233 234</code> 235 236</p><table class="jd-inheritance-table"> 237 238 239 <tr> 240 241 <td colspan="2" class="jd-inheritance-class-cell">java.lang.Object 242 </td> 243 </tr> 244 245 246 <tr> 247 248 <td class="jd-inheritance-space"> ↳</td> 249 250 <td colspan="1" class="jd-inheritance-class-cell">android.support.test.espresso.PerformException.Builder 251 </td> 252 </tr> 253 254 255</table> 256 257 258 259 260<br><hr> 261 262 263 <p>Builder for <code><a href="/reference/android/support/test/espresso/PerformException.html">PerformException</a></code>. 264</p> 265 266 267 268 269 270 271 272<h2 class="api-section">Summary</h2> 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296<!-- ======== CONSTRUCTOR SUMMARY ======== --> 297<table id="pubctors" class="responsive constructors"> 298<tr><th colspan="2"><h3>Public constructors</h3></th></tr> 299 300 301 302 303 <tr class="api apilevel-" > 304 305 306 <td width="100%"> 307 <code> 308 <a href="/reference/android/support/test/espresso/PerformException.Builder.html#PerformException.Builder()">PerformException.Builder</a>() 309 </code> 310 311 </td> 312 </tr> 313 314 315 316</table> 317 318 319 320 321 322 323<!-- ========== METHOD SUMMARY =========== --> 324<table id="pubmethods" class="responsive methods"> 325<tr><th colspan="2"><h3>Public methods</h3></th></tr> 326 327 328 329 330 <tr class="api apilevel-" > 331 332 333 <td><code> 334 335 336 337 338 339 <a href="/reference/android/support/test/espresso/PerformException.html">PerformException</a></code> 340 </td> 341 342 <td width="100%"> 343 <code> 344 <a href="/reference/android/support/test/espresso/PerformException.Builder.html#build()">build</a>() 345 </code> 346 347 </td> 348 </tr> 349 350 351 352 <tr class="api apilevel-" > 353 354 355 <td><code> 356 357 358 359 360 361 <a href="/reference/android/support/test/espresso/PerformException.Builder.html">PerformException.Builder</a></code> 362 </td> 363 364 <td width="100%"> 365 <code> 366 <a href="/reference/android/support/test/espresso/PerformException.Builder.html#from(android.support.test.espresso.PerformException)">from</a>(<a href="/reference/android/support/test/espresso/PerformException.html">PerformException</a> instance) 367 </code> 368 369 </td> 370 </tr> 371 372 373 374 <tr class="api apilevel-" > 375 376 377 <td><code> 378 379 380 381 382 383 <a href="/reference/android/support/test/espresso/PerformException.Builder.html">PerformException.Builder</a></code> 384 </td> 385 386 <td width="100%"> 387 <code> 388 <a href="/reference/android/support/test/espresso/PerformException.Builder.html#withActionDescription(java.lang.String)">withActionDescription</a>(String actionDescription) 389 </code> 390 391 </td> 392 </tr> 393 394 395 396 <tr class="api apilevel-" > 397 398 399 <td><code> 400 401 402 403 404 405 <a href="/reference/android/support/test/espresso/PerformException.Builder.html">PerformException.Builder</a></code> 406 </td> 407 408 <td width="100%"> 409 <code> 410 <a href="/reference/android/support/test/espresso/PerformException.Builder.html#withCause(java.lang.Throwable)">withCause</a>(Throwable cause) 411 </code> 412 413 </td> 414 </tr> 415 416 417 418 <tr class="api apilevel-" > 419 420 421 <td><code> 422 423 424 425 426 427 <a href="/reference/android/support/test/espresso/PerformException.Builder.html">PerformException.Builder</a></code> 428 </td> 429 430 <td width="100%"> 431 <code> 432 <a href="/reference/android/support/test/espresso/PerformException.Builder.html#withViewDescription(java.lang.String)">withViewDescription</a>(String viewDescription) 433 </code> 434 435 </td> 436 </tr> 437 438 439 440</table> 441 442 443 444 445 446 447 448<!-- ========== METHOD SUMMARY =========== --> 449<table id="inhmethods" class="methods inhtable"> 450<tr><th><h3>Inherited methods</h3></th></tr> 451 452 453<tr class="api apilevel-" > 454<td colspan="2"> 455 456 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed" 457 ><img height="34" id="inherited-methods-java.lang.Object-trigger" 458 src="/assets/images/styles/disclosure_down.png" 459 class="jd-expando-trigger-img" /></a>From 460class 461<code> 462 463 java.lang.Object 464 465</code> 466<div id="inherited-methods-java.lang.Object"> 467 <div id="inherited-methods-java.lang.Object-list" 468 class="jd-inheritedlinks"> 469 </div> 470 <div id="inherited-methods-java.lang.Object-summary" style="display: none;"> 471 <table class="jd-sumtable-expando responsive"> 472 473 474 475 476 <tr class="api apilevel-" > 477 478 479 <td><code> 480 481 482 483 484 485 Object</code> 486 </td> 487 488 <td width="100%"> 489 <code> 490 clone() 491 </code> 492 493 </td> 494 </tr> 495 496 497 498 <tr class="api apilevel-" > 499 500 501 <td><code> 502 503 504 505 506 507 boolean</code> 508 </td> 509 510 <td width="100%"> 511 <code> 512 equals(Object arg0) 513 </code> 514 515 </td> 516 </tr> 517 518 519 520 <tr class="api apilevel-" > 521 522 523 <td><code> 524 525 526 527 528 529 void</code> 530 </td> 531 532 <td width="100%"> 533 <code> 534 finalize() 535 </code> 536 537 </td> 538 </tr> 539 540 541 542 <tr class="api apilevel-" > 543 544 545 <td><code> 546 547 548 549 final 550 551 Class<?></code> 552 </td> 553 554 <td width="100%"> 555 <code> 556 getClass() 557 </code> 558 559 </td> 560 </tr> 561 562 563 564 <tr class="api apilevel-" > 565 566 567 <td><code> 568 569 570 571 572 573 int</code> 574 </td> 575 576 <td width="100%"> 577 <code> 578 hashCode() 579 </code> 580 581 </td> 582 </tr> 583 584 585 586 <tr class="api apilevel-" > 587 588 589 <td><code> 590 591 592 593 final 594 595 void</code> 596 </td> 597 598 <td width="100%"> 599 <code> 600 notify() 601 </code> 602 603 </td> 604 </tr> 605 606 607 608 <tr class="api apilevel-" > 609 610 611 <td><code> 612 613 614 615 final 616 617 void</code> 618 </td> 619 620 <td width="100%"> 621 <code> 622 notifyAll() 623 </code> 624 625 </td> 626 </tr> 627 628 629 630 <tr class="api apilevel-" > 631 632 633 <td><code> 634 635 636 637 638 639 String</code> 640 </td> 641 642 <td width="100%"> 643 <code> 644 toString() 645 </code> 646 647 </td> 648 </tr> 649 650 651 652 <tr class="api apilevel-" > 653 654 655 <td><code> 656 657 658 659 final 660 661 void</code> 662 </td> 663 664 <td width="100%"> 665 <code> 666 wait(long arg0, int arg1) 667 </code> 668 669 </td> 670 </tr> 671 672 673 674 <tr class="api apilevel-" > 675 676 677 <td><code> 678 679 680 681 final 682 683 void</code> 684 </td> 685 686 <td width="100%"> 687 <code> 688 wait(long arg0) 689 </code> 690 691 </td> 692 </tr> 693 694 695 696 <tr class="api apilevel-" > 697 698 699 <td><code> 700 701 702 703 final 704 705 void</code> 706 </td> 707 708 <td width="100%"> 709 <code> 710 wait() 711 </code> 712 713 </td> 714 </tr> 715 716 717 718 </table> 719 </div> 720</div> 721</td></tr> 722 723 724</table> 725 726 727 728<!-- XML Attributes --> 729 730 731<!-- Enum Values --> 732 733 734<!-- Constants --> 735 736 737<!-- Fields --> 738 739 740<!-- Public ctors --> 741 742 743<!-- ========= CONSTRUCTOR DETAIL ======== --> 744<h2 class="api-section">Public constructors</h2> 745 746 747 748<A NAME="PerformException.Builder()"></A> 749 750<div class="api apilevel-"> 751 <h3 class="api-name">PerformException.Builder</h3> 752 <div class="api-level"> 753 <div></div> 754 755 756 757 </div> 758<pre class="api-signature no-pretty-print"> 759PerformException.Builder ()</pre> 760 761 762 763 764 <p></p> 765 766</div> 767 768 769 770 771 772<!-- ========= CONSTRUCTOR DETAIL ======== --> 773<!-- Protected ctors --> 774 775 776 777<!-- ========= METHOD DETAIL ======== --> 778<!-- Public methdos --> 779 780<h2 class="api-section">Public methods</h2> 781 782 783 784<A NAME="build()"></A> 785 786<div class="api apilevel-"> 787 <h3 class="api-name">build</h3> 788 <div class="api-level"> 789 <div></div> 790 791 792 793 </div> 794<pre class="api-signature no-pretty-print"> 795<a href="/reference/android/support/test/espresso/PerformException.html">PerformException</a> build ()</pre> 796 797 798 799 800 <p></p> 801 <table class="responsive"> 802 <tr><th colspan=2>Returns</th></tr> 803 <tr> 804 <td><code><a href="/reference/android/support/test/espresso/PerformException.html">PerformException</a></code></td> 805 <td width="100%"><!-- no returns description in source --></td> 806 </tr> 807 </table> 808 809</div> 810 811 812<A NAME="from(android.support.test.espresso.PerformException)"></A> 813 814<div class="api apilevel-"> 815 <h3 class="api-name">from</h3> 816 <div class="api-level"> 817 <div></div> 818 819 820 821 </div> 822<pre class="api-signature no-pretty-print"> 823<a href="/reference/android/support/test/espresso/PerformException.Builder.html">PerformException.Builder</a> from (<a href="/reference/android/support/test/espresso/PerformException.html">PerformException</a> instance)</pre> 824 825 826 827 828 <p></p> 829 <table class="responsive"> 830 <tr><th colspan=2>Parameters</th></tr> 831 <tr> 832 <td><code>instance</code></td> 833 <td width="100%"> 834 <code>PerformException</code> 835 <!-- no parameter comment --></td> 836 </tr> 837 </table> 838 <table class="responsive"> 839 <tr><th colspan=2>Returns</th></tr> 840 <tr> 841 <td><code><a href="/reference/android/support/test/espresso/PerformException.Builder.html">PerformException.Builder</a></code></td> 842 <td width="100%"><!-- no returns description in source --></td> 843 </tr> 844 </table> 845 846</div> 847 848 849<A NAME="withActionDescription(java.lang.String)"></A> 850 851<div class="api apilevel-"> 852 <h3 class="api-name">withActionDescription</h3> 853 <div class="api-level"> 854 <div></div> 855 856 857 858 </div> 859<pre class="api-signature no-pretty-print"> 860<a href="/reference/android/support/test/espresso/PerformException.Builder.html">PerformException.Builder</a> withActionDescription (String actionDescription)</pre> 861 862 863 864 865 <p></p> 866 <table class="responsive"> 867 <tr><th colspan=2>Parameters</th></tr> 868 <tr> 869 <td><code>actionDescription</code></td> 870 <td width="100%"> 871 <code>String</code> 872 <!-- no parameter comment --></td> 873 </tr> 874 </table> 875 <table class="responsive"> 876 <tr><th colspan=2>Returns</th></tr> 877 <tr> 878 <td><code><a href="/reference/android/support/test/espresso/PerformException.Builder.html">PerformException.Builder</a></code></td> 879 <td width="100%"><!-- no returns description in source --></td> 880 </tr> 881 </table> 882 883</div> 884 885 886<A NAME="withCause(java.lang.Throwable)"></A> 887 888<div class="api apilevel-"> 889 <h3 class="api-name">withCause</h3> 890 <div class="api-level"> 891 <div></div> 892 893 894 895 </div> 896<pre class="api-signature no-pretty-print"> 897<a href="/reference/android/support/test/espresso/PerformException.Builder.html">PerformException.Builder</a> withCause (Throwable cause)</pre> 898 899 900 901 902 <p></p> 903 <table class="responsive"> 904 <tr><th colspan=2>Parameters</th></tr> 905 <tr> 906 <td><code>cause</code></td> 907 <td width="100%"> 908 <code>Throwable</code> 909 <!-- no parameter comment --></td> 910 </tr> 911 </table> 912 <table class="responsive"> 913 <tr><th colspan=2>Returns</th></tr> 914 <tr> 915 <td><code><a href="/reference/android/support/test/espresso/PerformException.Builder.html">PerformException.Builder</a></code></td> 916 <td width="100%"><!-- no returns description in source --></td> 917 </tr> 918 </table> 919 920</div> 921 922 923<A NAME="withViewDescription(java.lang.String)"></A> 924 925<div class="api apilevel-"> 926 <h3 class="api-name">withViewDescription</h3> 927 <div class="api-level"> 928 <div></div> 929 930 931 932 </div> 933<pre class="api-signature no-pretty-print"> 934<a href="/reference/android/support/test/espresso/PerformException.Builder.html">PerformException.Builder</a> withViewDescription (String viewDescription)</pre> 935 936 937 938 939 <p></p> 940 <table class="responsive"> 941 <tr><th colspan=2>Parameters</th></tr> 942 <tr> 943 <td><code>viewDescription</code></td> 944 <td width="100%"> 945 <code>String</code> 946 <!-- no parameter comment --></td> 947 </tr> 948 </table> 949 <table class="responsive"> 950 <tr><th colspan=2>Returns</th></tr> 951 <tr> 952 <td><code><a href="/reference/android/support/test/espresso/PerformException.Builder.html">PerformException.Builder</a></code></td> 953 <td width="100%"><!-- no returns description in source --></td> 954 </tr> 955 </table> 956 957</div> 958 959 960 961 962 963<!-- ========= METHOD DETAIL ======== --> 964 965 966 967<!-- ========= END OF CLASS DATA ========= --> 968 969</div><!-- end jd-content --> 970 971 972 973<div class="data-reference-resources-wrapper"> 974 975 <ul data-reference-resources> 976 977 978 <li><h2>Interfaces</h2> 979 <ul> 980 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/BaseLayerComponent.html">BaseLayerComponent</a></li> 981 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/EspressoException.html">EspressoException</a></li> 982 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/FailureHandler.html">FailureHandler</a></li> 983 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/IdlingResource.html">IdlingResource</a></li> 984 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/IdlingResource.ResourceCallback.html">IdlingResource.ResourceCallback</a></li> 985 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/UiController.html">UiController</a></li> 986 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/ViewAction.html">ViewAction</a></li> 987 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a></li> 988 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/ViewFinder.html">ViewFinder</a></li> 989 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/ViewInteractionComponent.html">ViewInteractionComponent</a></li> 990 </ul> 991 </li> 992 993 <li><h2>Classes</h2> 994 <ul> 995 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/AmbiguousViewMatcherException.Builder.html">AmbiguousViewMatcherException.Builder</a></li> 996 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/DataInteraction.html">DataInteraction</a></li> 997 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/Espresso.html">Espresso</a></li> 998 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/GraphHolder.html">GraphHolder</a></li> 999 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/IdlingPolicies.html">IdlingPolicies</a></li> 1000 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/IdlingPolicy.html">IdlingPolicy</a></li> 1001 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/NoMatchingViewException.Builder.html">NoMatchingViewException.Builder</a></li> 1002 <li class="selected api apilevel-"><a href="/reference/android/support/test/espresso/PerformException.Builder.html">PerformException.Builder</a></li> 1003 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/Root.html">Root</a></li> 1004 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/Root.Builder.html">Root.Builder</a></li> 1005 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/ViewInteraction.html">ViewInteraction</a></li> 1006 </ul> 1007 </li> 1008 1009 1010 <li><h2>Exceptions</h2> 1011 <ul> 1012 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/AmbiguousViewMatcherException.html">AmbiguousViewMatcherException</a></li> 1013 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/AppNotIdleException.html">AppNotIdleException</a></li> 1014 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/IdlingResourceTimeoutException.html">IdlingResourceTimeoutException</a></li> 1015 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/InjectEventSecurityException.html">InjectEventSecurityException</a></li> 1016 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/NoActivityResumedException.html">NoActivityResumedException</a></li> 1017 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/NoMatchingRootException.html">NoMatchingRootException</a></li> 1018 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/NoMatchingViewException.html">NoMatchingViewException</a></li> 1019 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/PerformException.html">PerformException</a></li> 1020 </ul> 1021 </li> 1022 1023 </ul> 1024 1025</div> 1026 1027 1028 1029</body> 1030</html> 1031