Interface Image

All Known Subinterfaces:
ContainerizeTask.ContainerImage

public interface Image

Represents a native project image.

Since:
1.4
Author:
Jeremy Kuhn
  • Method Details

    • getClassifier

      String getClassifier()

      Returns the native image classifier (e.g. application_linux_amd64).

      Returns:
      the image classifier
    • getFormat

      Optional<String> 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

      Optional<Path> 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