Interface MetaInfPathValidator

All Superinterfaces:
Validator

@ProviderType public interface MetaInfPathValidator extends Validator
Validator interface for validating file paths for files and folders below META-INF.
  • Method Details

    • validateMetaInfPath

      @Deprecated @Nullable default @Nullable Collection<ValidationMessage> validateMetaInfPath(@NotNull @NotNull Path filePath)
      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 in basePath)
      basePath - the absolute path to the META-INF directory to which filePath is relative
      isFolder - true in case it is a folder, otherwise false
      Returns:
      validation messages or null