Class InventoryUpdater.AddFileResult
- java.lang.Object
-
- edu.wisc.library.ocfl.core.inventory.InventoryUpdater.AddFileResult
-
- Enclosing class:
- InventoryUpdater
public static class InventoryUpdater.AddFileResult extends Object
Indicates the result of an add file operation.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContentPath()The content path of the fileStringgetPathUnderContentDir()The portion of the content path that's under the content directorybooleanisNew()
-
-
-
Method Detail
-
isNew
public boolean isNew()
- Returns:
- true if the file was added to the manifest
-
getContentPath
public String getContentPath()
The content path of the file- Returns:
- null if the file is not new
-
getPathUnderContentDir
public String getPathUnderContentDir()
The portion of the content path that's under the content directory- Returns:
- null if the file is not new
-
-