Class GcsOptions.PathValidatorFactory
java.lang.Object
org.apache.beam.sdk.extensions.gcp.options.GcsOptions.PathValidatorFactory
- All Implemented Interfaces:
DefaultValueFactory<PathValidator>
- Enclosing interface:
GcsOptions
public static class GcsOptions.PathValidatorFactory
extends Object
implements DefaultValueFactory<PathValidator>
Creates a
PathValidator
object using the class specified in GcsOptions.getPathValidatorClass()
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(PipelineOptions options) Creates a default value for a getter marked withDefault.InstanceFactory
.
-
Constructor Details
-
PathValidatorFactory
public PathValidatorFactory()
-
-
Method Details
-
create
Description copied from interface:DefaultValueFactory
Creates a default value for a getter marked withDefault.InstanceFactory
.- Specified by:
create
in interfaceDefaultValueFactory<PathValidator>
- Parameters:
options
- The current pipeline options.- Returns:
- The default value to be used for the annotated getter.
-