public class JobFileState
extends java.lang.Object
| Constructor and Description |
|---|
JobFileState(java.lang.String path,
long size,
java.lang.String md5)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<java.lang.String> |
getMd5()
Get the MD5 hash of the file (as 32 hex characters) if it was calculated.
|
public JobFileState(java.lang.String path,
long size,
@Nullable
java.lang.String md5)
path - The relative path to the file from the root of the job directorysize - The current size of the file within the storage system. Min 0md5 - The md5 hex of the file contents if it was calculated