- All Known Subinterfaces:
ContainerizeTask.ContainerImage
public interface Image
Represents a native project image.
- Since:
- 1.4
- Author:
- Jeremy Kuhn
-
Method Summary
-
Method Details
-
getClassifier
String getClassifier()Returns the native image classifier (e.g.
application_linux_amd64
).- Returns:
- the image classifier
-
getFormat
Returns the image archive format (e.g.
zip
)- Returns:
- an optional returning the archive format or an empty optional when the image has not been generated as an archive
-
getPath
Returns the path to the image.
- Returns:
- an optional returning the path to the image or an empty optional when the image has not been generated to the file system
-