- All Superinterfaces:
Task<Set<Image>,ArchiveTask>
A task for archiving project delivrables.
The archive tasks is used to package project runtime images or project application images in various archive formats.
- Since:
- 1.4
- Author:
- Jeremy Kuhn
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionSpecifies the formats of the archives to generate.Specifies the root path (e.g.Methods inherited from interface io.inverno.tool.buildtools.Task
doOnComplete, execute
-
Field Details
-
FORMAT_ZIP
.ziparchive format.- See Also:
-
FORMAT_TAR_GZ
.tar.gzarchive format.- See Also:
-
FORMAT_TAR_BZ2
.tar.bz2archive format.- See Also:
-
-
Method Details
-
prefix
Specifies the root path (e.g.
path/to/image) within the archive where to put the project image.Defaults to
Project.getFinalName().- Parameters:
prefix- a path- Returns:
- the task
-
formats
Specifies the formats of the archives to generate.
- Parameters:
formats- a list of archive formats- Returns:
- the task
-