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 Detail

      • 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