Interface MetaInfPathValidator
- All Superinterfaces:
Validator
Validator interface for validating file paths for files and folders
below META-INF.
-
Method Summary
Modifier and TypeMethodDescriptiondefault @Nullable Collection<ValidationMessage>validateMetaInfPath(@NotNull Path filePath) Deprecated.default @Nullable Collection<ValidationMessage>validateMetaInfPath(@NotNull Path filePath, @NotNull Path basePath, boolean isFolder) Called for each file/folder below META-INF.
-
Method Details
-
validateMetaInfPath
@Deprecated @Nullable default @Nullable Collection<ValidationMessage> validateMetaInfPath(@NotNull @NotNull Path filePath) Deprecated.UsevalidateMetaInfPath(Path, Path, boolean)instead.Called for each file/folder below META-INF.- Parameters:
filePath- the relative file/folder path to the META-INF directory- Returns:
- validation messages or
null
-
validateMetaInfPath
@Nullable default @Nullable Collection<ValidationMessage> validateMetaInfPath(@NotNull @NotNull Path filePath, @NotNull @NotNull Path basePath, boolean isFolder) Called for each file/folder below META-INF.- Parameters:
filePath- the relative file/folder path to the META-INF directory (given inbasePath)basePath- the absolute path to the META-INF directory to whichfilePathis relativeisFolder-truein case it is a folder, otherwisefalse- Returns:
- validation messages or
null
-
validateMetaInfPath(Path, Path, boolean)instead.