Interface ContentPathConstraintProcessor

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void apply​(String contentPath)
      Applies the configured path constrains to the content path and storage path.
      void apply​(String contentPath, String storagePath)
      Applies the configured path constrains to the content path and storage path.
    • Method Detail

      • apply

        void apply​(String contentPath,
                   String storagePath)
        Applies the configured path constrains to the content path and storage path. If any constraints fail, a PathConstraintException is thrown.
        Parameters:
        contentPath - the content path relative a version's content directory
        storagePath - the content path relative the OCFL repository root
        Throws:
        PathConstraintException - when a constraint fails
      • apply

        void apply​(String contentPath)
        Applies the configured path constrains to the content path and storage path. If any constraints fail, a PathConstraintException is thrown.
        Parameters:
        contentPath - the content path relative a version's content directory
        Throws:
        PathConstraintException - when a constraint fails