OcflRepositoryBuilder |
OcflRepositoryBuilder.cloudStorage(Consumer<CloudOcflStorageBuilder> configureStorage) |
Configures the repository to use Cloud based storage.
|
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.fileSystemStorage(Consumer<FileSystemOcflStorageBuilder> configureStorage) |
Configures the repository to use file system based storage.
|
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.workDir(Path workDir) |
The temporary workspace the repository uses to assemble object versions.
|