Interface JobArchiveService
- All Known Implementing Classes:
JobArchiveServiceImpl
public interface JobArchiveService
A service which is responsible for taking the files related to running a Genie job and backing them up to a different
location.
- Since:
- 4.0.0
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
archiveDirectory
(Path directory, URI targetURI) Backup the contents of the given directory to the target location.
-
Field Details
-
MANIFEST_DIRECTORY
The subdirectory within the job directory where the manifest will be placed.- See Also:
-
MANIFEST_NAME
The name of job manifest file generated by the system.- See Also:
-
-
Method Details
-
archiveDirectory
Backup the contents of the given directory to the target location. This will recursively backup ALL the files and sub-directories within the given directory to the target.- Parameters:
directory
-Path
to the directory to archivetargetURI
- targetURI
for the root archive location- Throws:
JobArchiveException
- if archival fails
-