Package org.apache.beam.sdk.testing
Class TestPipelineOptions.AlwaysPassMatcherFactory
java.lang.Object
org.apache.beam.sdk.testing.TestPipelineOptions.AlwaysPassMatcherFactory
- All Implemented Interfaces:
DefaultValueFactory<SerializableMatcher<PipelineResult>>
- Enclosing interface:
TestPipelineOptions
public static class TestPipelineOptions.AlwaysPassMatcherFactory
extends Object
implements DefaultValueFactory<SerializableMatcher<PipelineResult>>
Factory for
PipelineResult
matchers which always pass.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(PipelineOptions options) Creates a default value for a getter marked withDefault.InstanceFactory
.
-
Constructor Details
-
AlwaysPassMatcherFactory
public AlwaysPassMatcherFactory()
-
-
Method Details
-
create
Description copied from interface:DefaultValueFactory
Creates a default value for a getter marked withDefault.InstanceFactory
.- Specified by:
create
in interfaceDefaultValueFactory<SerializableMatcher<PipelineResult>>
- Parameters:
options
- The current pipeline options.- Returns:
- The default value to be used for the annotated getter.
-