OcflRepositoryBuilder |
OcflRepositoryBuilder.contentPathConstraints(ContentPathConstraintProcessor contentPathConstraints) |
Overrides the default ContentPathConstraintProcessor that is used to enforce restrictions on what constitutes a valid
content path.
|
OcflRepositoryBuilder |
OcflRepositoryBuilder.defaultLayoutConfig(OcflExtensionConfig defaultLayoutConfig) |
Sets the default OCFL storage layout configuration.
|
OcflRepositoryBuilder |
OcflRepositoryBuilder.ignoreUnsupportedExtensions(Set<String> ignoreUnsupportedExtensions) |
Sets a list of unsupported extensions that should be ignored.
|
OcflRepositoryBuilder |
OcflRepositoryBuilder.inventoryCache(Cache<String,Inventory> inventoryCache) |
Used to cache deserialized inventories.
|
OcflRepositoryBuilder |
OcflRepositoryBuilder.inventoryMapper(InventoryMapper inventoryMapper) |
Used to override the default InventoryMapper, which is used to serialize Inventories to JSON files.
|
OcflRepositoryBuilder |
OcflRepositoryBuilder.logicalPathMapper(LogicalPathMapper logicalPathMapper) |
|
OcflRepositoryBuilder |
OcflRepositoryBuilder.objectDetailsDb(ObjectDetailsDatabase objectDetailsDb) |
Used to store details about OCFL objects in the repository.
|
OcflRepositoryBuilder |
OcflRepositoryBuilder.objectDetailsDb(Consumer<ObjectDetailsDatabaseBuilder> configureDb) |
Used to store details about OCFL objects in the repository.
|
OcflRepositoryBuilder |
OcflRepositoryBuilder.objectLock(ObjectLock objectLock) |
Used to lock objects when writing.
|
OcflRepositoryBuilder |
OcflRepositoryBuilder.objectLock(Consumer<ObjectLockBuilder> configureLock) |
Configures the object lock that's used.
|
OcflRepositoryBuilder |
OcflRepositoryBuilder.ocflConfig(OcflConfig config) |
Sets OCFL configuration options.
|
OcflRepositoryBuilder |
OcflRepositoryBuilder.ocflConfig(Consumer<OcflConfig> configureConfig) |
Sets OCFL configuration options.
|
OcflRepositoryBuilder |
OcflRepositoryBuilder.prettyPrintJson() |
Changes the InventoryMapper to pretty print Inventory JSON files so that they are human readable but use more
disk space.
|
OcflRepositoryBuilder |
OcflRepositoryBuilder.storage(OcflStorage storage) |
The storage layer the repository should use.
|
OcflRepositoryBuilder |
OcflRepositoryBuilder.storage(Consumer<OcflStorageBuilder> configureStorage) |
Configure the storage layer the repository should use.
|
OcflRepositoryBuilder |
OcflRepositoryBuilder.unsupportedExtensionBehavior(UnsupportedExtensionBehavior unsupportedBehavior) |
Set the behavior when an unsupported extension is encountered.
|
OcflRepositoryBuilder |
OcflRepositoryBuilder.verifyStaging(boolean verifyStaging) |
Configures whether to verify the contents of a staged version before it is moved into the OCFL object.
|
OcflRepositoryBuilder |
OcflRepositoryBuilder.workDir(Path workDir) |
The temporary workspace the repository uses to assemble object versions.
|