Interface MetaInfPathValidator

  • All Superinterfaces:

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

      • validateMetaInfPath

        default @Nullable Collection<ValidationMessage> validateMetaInfPath​(@NotNull
                                                                            @NotNull Path filePath,
                                                                            @NotNull Path basePath,
                                                                            boolean isFolder)
        Called for each file/folder below META-INF.
        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
        validation messages or null