Interface JcrPathValidator

    • Method Detail

      • validateJcrPath

        @Nullable
        default @Nullable Collection<ValidationMessage> validateJcrPath​(@NotNull
                                                                        @NotNull NodeContext nodeContext,
                                                                        boolean isFolder,
                                                                        boolean isDocViewXml)
        Called for each file/folder below jcr_root.
        Parameters:
        nodeContext - the meta information about the node given through this file/folder
        isFolder - true in case it is a folder, otherwise false
        isDocViewXml - true in case isFolder is false and the file is a Document View XML file, otherwise false
        Returns:
        validation messages or null