Class TestPortablePipelineOptions.DefaultJobServerConfigFactory
java.lang.Object
org.apache.beam.runners.portability.testing.TestPortablePipelineOptions.DefaultJobServerConfigFactory
- All Implemented Interfaces:
DefaultValueFactory<String[]>
- Enclosing interface:
TestPortablePipelineOptions
public static class TestPortablePipelineOptions.DefaultJobServerConfigFactory
extends Object
implements DefaultValueFactory<String[]>
Factory for default config.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
create
(PipelineOptions options) Creates a default value for a getter marked withDefault.InstanceFactory
.
-
Constructor Details
-
DefaultJobServerConfigFactory
public DefaultJobServerConfigFactory()
-
-
Method Details
-
create
Description copied from interface:DefaultValueFactory
Creates a default value for a getter marked withDefault.InstanceFactory
.- Specified by:
create
in interfaceDefaultValueFactory<String[]>
- Parameters:
options
- The current pipeline options.- Returns:
- The default value to be used for the annotated getter.
-