| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (1.8.0_181-google-v7) on Mon Jan 27 16:42:31 PST 2020 --> |
| <title>SerializableMatcher (Apache Beam 2.20.0-SNAPSHOT)</title> |
| <meta name="date" content="2020-01-27"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="SerializableMatcher (Apache Beam 2.20.0-SNAPSHOT)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/beam/sdk/testing/RegexMatcher.html" title="class in org.apache.beam.sdk.testing"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/beam/sdk/testing/SerializableMatchers.html" title="class in org.apache.beam.sdk.testing"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/beam/sdk/testing/SerializableMatcher.html" target="_top">Frames</a></li> |
| <li><a href="SerializableMatcher.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li>Method</li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li>Method</li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.beam.sdk.testing</div> |
| <h2 title="Interface SerializableMatcher" class="title">Interface SerializableMatcher<T></h2> |
| </div> |
| <div class="contentContainer"> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>T</code> - The type of value matched.</dd> |
| </dl> |
| <dl> |
| <dt>All Superinterfaces:</dt> |
| <dd><a href="https://static.javadoc.io/org.hamcrest/hamcrest-core/2.1/org/hamcrest/Matcher.html?is-external=true" title="class or interface in org.hamcrest">Matcher</a><T>, <a href="https://static.javadoc.io/org.hamcrest/hamcrest-core/2.1/org/hamcrest/SelfDescribing.html?is-external=true" title="class or interface in org.hamcrest">SelfDescribing</a>, java.io.Serializable</dd> |
| </dl> |
| <dl> |
| <dt>All Known Implementing Classes:</dt> |
| <dd><a href="../../../../../org/apache/beam/sdk/io/gcp/testing/BigqueryMatcher.html" title="class in org.apache.beam.sdk.io.gcp.testing">BigqueryMatcher</a>, <a href="../../../../../org/apache/beam/sdk/testing/FileChecksumMatcher.html" title="class in org.apache.beam.sdk.testing">FileChecksumMatcher</a>, <a href="../../../../../org/apache/beam/sdk/testing/TestPipelineOptions.AlwaysPassMatcher.html" title="class in org.apache.beam.sdk.testing">TestPipelineOptions.AlwaysPassMatcher</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public interface <span class="typeNameLabel">SerializableMatcher<T></span> |
| extends <a href="https://static.javadoc.io/org.hamcrest/hamcrest-core/2.1/org/hamcrest/Matcher.html?is-external=true" title="class or interface in org.hamcrest">Matcher</a><T>, java.io.Serializable</pre> |
| <div class="block">A <a href="https://static.javadoc.io/org.hamcrest/hamcrest-core/2.1/org/hamcrest/Matcher.html?is-external=true" title="class or interface in org.hamcrest"><code>Matcher</code></a> that is also <code>Serializable</code>. |
| |
| <p>Such matchers can be used with <a href="../../../../../org/apache/beam/sdk/testing/PAssert.html" title="class in org.apache.beam.sdk.testing"><code>PAssert</code></a>, which builds pipelines such that these |
| matchers may be serialized and executed remotely. |
| |
| <p>To create a <code>SerializableMatcher</code>, extend <a href="https://static.javadoc.io/org.hamcrest/hamcrest-core/2.1/org/hamcrest/BaseMatcher.html?is-external=true" title="class or interface in org.hamcrest"><code>BaseMatcher</code></a> and also |
| implement this interface.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.hamcrest.Matcher"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.hamcrest.<a href="https://static.javadoc.io/org.hamcrest/hamcrest-core/2.1/org/hamcrest/Matcher.html?is-external=true" title="class or interface in org.hamcrest">Matcher</a></h3> |
| <code><a href="https://static.javadoc.io/org.hamcrest/hamcrest-core/2.1/org/hamcrest/Matcher.html?is-external=true#Z:Z_dont_implement_Matcher___instead_extend_BaseMatcher_--" title="class or interface in org.hamcrest">_dont_implement_Matcher___instead_extend_BaseMatcher_</a>, <a href="https://static.javadoc.io/org.hamcrest/hamcrest-core/2.1/org/hamcrest/Matcher.html?is-external=true#describeMismatch-java.lang.Object-org.hamcrest.Description-" title="class or interface in org.hamcrest">describeMismatch</a>, <a href="https://static.javadoc.io/org.hamcrest/hamcrest-core/2.1/org/hamcrest/Matcher.html?is-external=true#matches-java.lang.Object-" title="class or interface in org.hamcrest">matches</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.hamcrest.SelfDescribing"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.hamcrest.<a href="https://static.javadoc.io/org.hamcrest/hamcrest-core/2.1/org/hamcrest/SelfDescribing.html?is-external=true" title="class or interface in org.hamcrest">SelfDescribing</a></h3> |
| <code><a href="https://static.javadoc.io/org.hamcrest/hamcrest-core/2.1/org/hamcrest/SelfDescribing.html?is-external=true#describeTo-org.hamcrest.Description-" title="class or interface in org.hamcrest">describeTo</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/beam/sdk/testing/RegexMatcher.html" title="class in org.apache.beam.sdk.testing"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/beam/sdk/testing/SerializableMatchers.html" title="class in org.apache.beam.sdk.testing"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/beam/sdk/testing/SerializableMatcher.html" target="_top">Frames</a></li> |
| <li><a href="SerializableMatcher.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li>Method</li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li>Method</li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </body> |
| </html> |