public interface JobArchiveService
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MANIFEST_DIRECTORY
The subdirectory within the job directory where the manifest will be placed.
|
static java.lang.String |
MANIFEST_NAME
The name of job manifest file generated by the system.
|
Modifier and Type | Method and Description |
---|---|
void |
archiveDirectory(java.nio.file.Path directory,
java.net.URI targetURI)
Backup the contents of the given directory to the target location.
|
static final java.lang.String MANIFEST_DIRECTORY
static final java.lang.String MANIFEST_NAME
void archiveDirectory(java.nio.file.Path directory, java.net.URI targetURI) throws JobArchiveException
directory
- Path
to the directory to archivetargetURI
- target URI
for the root archive locationJobArchiveException
- if archival fails