@Internal public class NoopPathValidator extends java.lang.Object implements PathValidator
Noop implementation of PathValidator. All paths are allowed and returned unchanged.
| Modifier and Type | Method and Description |
|---|---|
static PathValidator |
fromOptions(PipelineOptions options) |
void |
validateInputFilePatternSupported(java.lang.String filepattern)
Validate that a file pattern is conforming.
|
void |
validateOutputFilePrefixSupported(java.lang.String filePrefix)
Validate that an output file prefix is conforming.
|
void |
validateOutputResourceSupported(ResourceId resourceId)
Validates that an output path is conforming.
|
java.lang.String |
verifyPath(java.lang.String path)
Validate that a path is a valid path and that the path is accessible.
|
public static PathValidator fromOptions(PipelineOptions options)
public void validateInputFilePatternSupported(java.lang.String filepattern)
PathValidatorvalidateInputFilePatternSupported in interface PathValidatorfilepattern - The file pattern to verify.public void validateOutputFilePrefixSupported(java.lang.String filePrefix)
PathValidatorvalidateOutputFilePrefixSupported in interface PathValidatorfilePrefix - the file prefix to verify.public void validateOutputResourceSupported(ResourceId resourceId)
PathValidatorvalidateOutputResourceSupported in interface PathValidatorresourceId - the file prefix to verify.public java.lang.String verifyPath(java.lang.String path)
PathValidatorverifyPath in interface PathValidatorpath - The path to verify.