Interface ContentPathConstraintProcessor
-
- All Known Implementing Classes:
DefaultContentPathConstraintProcessor
public interface ContentPathConstraintProcessor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapply(String contentPath)Applies the configured path constrains to the content path and storage path.voidapply(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, aPathConstraintExceptionis thrown.- Parameters:
contentPath- the content path relative a version's content directorystoragePath- 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, aPathConstraintExceptionis thrown.- Parameters:
contentPath- the content path relative a version's content directory- Throws:
PathConstraintException- when a constraint fails
-
-