Interface PathValidator
- All Known Implementing Classes:
GcsPathValidator
,NoopPathValidator
For internal use only; no backwards compatibility guarantees.
Interface for controlling validation of paths.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validateInputFilePatternSupported
(String filepattern) Validate that a file pattern is conforming.void
validateOutputFilePrefixSupported
(String filePrefix) Validate that an output file prefix is conforming.void
validateOutputResourceSupported
(ResourceId resourceId) Validates that an output path is conforming.verifyPath
(String path) Validate that a path is a valid path and that the path is accessible.
-
Method Details
-
validateInputFilePatternSupported
Validate that a file pattern is conforming.- Parameters:
filepattern
- The file pattern to verify.
-
validateOutputFilePrefixSupported
Validate that an output file prefix is conforming.- Parameters:
filePrefix
- the file prefix to verify.
-
validateOutputResourceSupported
Validates that an output path is conforming.- Parameters:
resourceId
- the file prefix to verify.
-
verifyPath
Validate that a path is a valid path and that the path is accessible.- Parameters:
path
- The path to verify.- Returns:
- The post-validation path.
-