Interface SerializableMatcher<T>

Type Parameters:
T - The type of value matched.
All Superinterfaces:
Matcher<T>, SelfDescribing, Serializable
All Known Implementing Classes:
BigqueryMatcher, FileChecksumMatcher, TestPipelineOptions.AlwaysPassMatcher

public interface SerializableMatcher<T> extends Matcher<T>, Serializable
A Matcher that is also Serializable.

Such matchers can be used with PAssert, which builds pipelines such that these matchers may be serialized and executed remotely.

To create a SerializableMatcher, extend BaseMatcher and also implement this interface.