InventoryBuilder |
InventoryBuilder.addFileToManifest(String id,
String contentPath) |
Adds a file to the manifest
|
InventoryBuilder |
InventoryBuilder.addFixityForFile(String contentPath,
DigestAlgorithm algorithm,
String value) |
Adds a file to the fixity block
|
InventoryBuilder |
InventoryBuilder.addHeadVersion(Version version) |
Add the version as the new HEAD version.
|
static InventoryBuilder |
Inventory.builder() |
|
static InventoryBuilder |
Inventory.builderFromStub(String id,
OcflConfig config,
String objectRootPath) |
Creates an inventory builder with values populated from a stub inventory
|
InventoryBuilder |
Inventory.buildFrom() |
Creates an inventory builder that copies all of the properties of this inventory.
|
InventoryBuilder |
Inventory.buildNextVersionFrom() |
Same as buildFrom except it moves the current digest to the previous digest and nulls the current digest.
|
InventoryBuilder |
InventoryBuilder.clearFixity() |
Removes all of the entries from the fixity block.
|
InventoryBuilder |
InventoryBuilder.contentDirectory(String contentDirectory) |
|
InventoryBuilder |
InventoryBuilder.currentDigest(String currentDigest) |
|
InventoryBuilder |
InventoryBuilder.digestAlgorithm(DigestAlgorithm digestAlgorithm) |
|
InventoryBuilder |
InventoryBuilder.fixity(Map<DigestAlgorithm,Map<String,Set<String>>> fixity) |
|
InventoryBuilder |
InventoryBuilder.fixityBiMap(Map<DigestAlgorithm,PathBiMap> fixity) |
|
InventoryBuilder |
InventoryBuilder.head(VersionNum head) |
|
InventoryBuilder |
InventoryBuilder.id(String id) |
|
InventoryBuilder |
InventoryBuilder.manifest(PathBiMap manifest) |
|
InventoryBuilder |
InventoryBuilder.manifest(Map<String,Set<String>> manifest) |
|
InventoryBuilder |
InventoryBuilder.mutableHead(boolean mutableHead) |
|
InventoryBuilder |
InventoryBuilder.objectRootPath(String objectRootPath) |
|
InventoryBuilder |
InventoryBuilder.previousDigest(String previousDigest) |
|
InventoryBuilder |
InventoryBuilder.putVersion(VersionNum versionNum,
Version version) |
Inserts a version at the specified version number.
|
InventoryBuilder |
InventoryBuilder.removeContentPath(String contentPath) |
Removes a file from the manifest and fixity bock by content path
|
InventoryBuilder |
InventoryBuilder.removeContentPathFromFixity(String contentPath) |
Removes a file from the fixity block by content path
|
InventoryBuilder |
InventoryBuilder.removeFileId(String fileId) |
Removes a file from the manifest and fixity block
|
InventoryBuilder |
InventoryBuilder.revisionNum(RevisionNum revisionNum) |
|
InventoryBuilder |
InventoryBuilder.type(InventoryType type) |
|
InventoryBuilder |
InventoryBuilder.versions(Map<VersionNum,Version> versions) |
|