Package com.netflix.genie.web.services
Interface ArchivedJobService
- All Known Implementing Classes:
ArchivedJobServiceImpl
public interface ArchivedJobService
A Service interface for working with the metadata and data of a job that was archived by the Agent upon completion.
- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptiongetArchivedJobMetadata
(String jobId) Retrieve the metadata about the contents and location of a jobs archived artifacts.
-
Method Details
-
getArchivedJobMetadata
ArchivedJobMetadata getArchivedJobMetadata(String jobId) throws JobNotFoundException, JobNotArchivedException, JobDirectoryManifestNotFoundException Retrieve the metadata about the contents and location of a jobs archived artifacts.- Parameters:
jobId
- The id of the job- Returns:
- A
ArchivedJobMetadata
instance - Throws:
JobNotFoundException
- When no job with id jobId is found in the systemJobNotArchivedException
- If the job wasn't archived so no manifest could be retrievedJobDirectoryManifestNotFoundException
- If the job was archived but the manifest can't be located
-