Package org.qubership.atp.ram.services
Class ArchiveService
java.lang.Object
org.qubership.atp.ram.services.ArchiveService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionwriteFileDataToArchive(List<ExtendedFileData> files, UUID executionRequestId) Create zip archive with specified files in it.
-
Constructor Details
-
ArchiveService
public ArchiveService()
-
-
Method Details
-
writeFileDataToArchive
public File writeFileDataToArchive(List<ExtendedFileData> files, UUID executionRequestId) throws IOException Create zip archive with specified files in it.- Parameters:
files- list of FileData to store to archiveexecutionRequestId- id of execution request to form proper archive name- Returns:
- path to created archive
- Throws:
IOException- if something is wrong with writing to archive
-