public static class DirectoryManifest.Factory
extends java.lang.Object
| Constructor and Description |
|---|
Factory()
Constructor with no filters.
|
Factory(DirectoryManifest.Filter filter)
Constructor with filter.
|
| Modifier and Type | Method and Description |
|---|---|
DirectoryManifest |
getDirectoryManifest(java.nio.file.Path directory,
boolean includeChecksum)
Create a manifest from the given job directory.
|
public Factory()
public Factory(DirectoryManifest.Filter filter)
filter - the manifest filterpublic DirectoryManifest getDirectoryManifest(java.nio.file.Path directory, boolean includeChecksum) throws java.io.IOException
directory - The job directory to create a manifest fromincludeChecksum - Whether or not to calculate checksums for each file added to the manifestjava.io.IOException - If there is an error reading the directory